Skip to content

Commit

Permalink
Fix parent message
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Apr 14, 2021
1 parent 5254e49 commit 450499b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/comm/comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def _publish_msg(self, msg_type, data=None, metadata=None, buffers=None, **keys)
self.kernel.session.send(self.kernel.iopub_socket, msg_type,
content,
metadata=json_clean(metadata),
parent=self.kernel._parent_header,
parent=self.kernel._parent_header.get('shell', {}),
ident=self.topic,
buffers=buffers,
)
Expand Down

0 comments on commit 450499b

Please sign in to comment.