From da61484d68ea5558df7fd4e036f0a4ad8d2a4fee Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Wed, 3 Apr 2024 11:54:32 +0100 Subject: [PATCH] Correctly handle with_cell_id in async do_execute --- ipykernel/ipkernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipykernel/ipkernel.py b/ipykernel/ipkernel.py index dabb0c445..db83d986f 100644 --- a/ipykernel/ipkernel.py +++ b/ipykernel/ipkernel.py @@ -382,7 +382,7 @@ async def run_cell(*args, **kwargs): store_history=store_history, silent=silent, ) - if with_cell_id: + if with_cell_id and with_cell_id["cell_id"]: kwargs.update(cell_id=cell_id) if should_run_async(