Open danhje opened 1 week ago
Hi @danhje, thank you for reporting the issue! It looks like this one is also a problem with the Jupyter extension's variable delegation.
From Jupyter output logs (with logging level set to debug):
Working launch:
11:46:41.719 [debug] Evaluating in debugger : 60f5e28b-9a31-4f3b-b97d-e1c5c98594d1: _VSCODE_getVariable("info", True, d['ONE'])
11:46:41.771 [info] Showing data viewer with command dataWrangler.launchDataViewer for variable {"name":"d['ONE']","type":"DataFrame","count":3,"shape":"(3, 2)","size":0,"supportsDataExplorer":false,"value":"...","truncated":false,"frameId":8,"fullType":"pandas.core.frame.DataFrame"}
Failing launch (doesn't show launch message):
11:46:52.371 [debug] Evaluating in debugger : 60f5e28b-9a31-4f3b-b97d-e1c5c98594d1: _VSCODE_getVariable("info", True, <MyEnum.ONE: 1>)
Environment data
Expected behaviour
DataFrame is displayed
Actual behaviour
Nothing happens
Steps to reproduce:
Debug this script with a breakpoint on
pass
:The DF that corresponds to the
"ONE"
key opens without issue, but the DF that corresponds with theMyEnum.ONE
value does not.