Skip to content

Commit 8d60e67

Browse files
authored
Correctly handle with_cell_id in async do_execute (#1227)
1 parent 0bc51f2 commit 8d60e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipykernel/ipkernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ async def run_cell(*args, **kwargs):
382382
store_history=store_history,
383383
silent=silent,
384384
)
385-
if with_cell_id:
385+
if with_cell_id and with_cell_id["cell_id"]:
386386
kwargs.update(cell_id=cell_id)
387387

388388
if should_run_async(

0 commit comments

Comments
 (0)