Commit bde9f36
committed
fix: add compatibility for NumPy bool_ type in variable explorer
This update introduces a new function, _get_type_name, to ensure that the type name for NumPy's bool_ is consistently returned as 'bool_' across different Python versions, particularly for Python 3.13. The variable type retrieval in _get_variable_dict_entry has been updated to use this new function.1 parent e069c12 commit bde9f36
File tree
2 files changed
+24
-3
lines changed- deepnote_toolkit
2 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
410 | 431 | | |
411 | 432 | | |
412 | 433 | | |
| |||
415 | 436 | | |
416 | 437 | | |
417 | 438 | | |
418 | | - | |
| 439 | + | |
419 | 440 | | |
420 | 441 | | |
421 | 442 | | |
| |||
0 commit comments