Skip to content

Commit 23d2875

Browse files
committed
change cell_meta default to None
1 parent 7165e72 commit 23d2875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipykernel/kernelbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ async def execute_request(self, stream, ident, parent):
787787
store_history = content.get("store_history", not silent)
788788
user_expressions = content.get("user_expressions", {})
789789
allow_stdin = content.get("allow_stdin", False)
790-
cell_meta = parent.get("metadata", {})
790+
cell_meta = parent.get("metadata", None)
791791
cell_id = cell_meta.get("cellId")
792792
except Exception:
793793
self.log.error("Got bad msg: ")

0 commit comments

Comments
 (0)