Skip to content

Commit

Permalink
cell_id extraction fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jjvraw committed Nov 21, 2023
1 parent a5c791e commit 0d87b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/kernelbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ async def execute_request(self, stream, ident, parent):
self._publish_execute_input(code, parent, self.execution_count)

cell_meta = parent.get("metadata", {})
cell_id = cell_meta.get("cellId") or {}
cell_id = cell_meta.get("cellId")

# Check which parameters do_execute can accept
accepts_params = _accepts_parameters(self.do_execute, ["cell_meta", "cell_id"])
Expand Down

0 comments on commit 0d87b72

Please sign in to comment.