Skip to content

Commit c0788c7

Browse files
committed
Added 'type' field to variables returned by inspectVariables request
1 parent 511d9a7 commit c0788c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ipykernel/debugger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ async def inspectVariables(self, message):
413413
var_list.append({
414414
'name': k,
415415
'value': v,
416+
'type': str(type(v))[8:-2],
416417
'variablesReference': 0
417418
})
418419
reply = {

0 commit comments

Comments
 (0)