euporie.core.comm.ipywidgets.open_comm_ipywidgets
- euporie.core.comm.ipywidgets.open_comm_ipywidgets(comm_container: KernelTab, comm_id: str, data: dict, buffers: Sequence[memoryview | bytearray | bytes]) IpyWidgetComm
Create a new Comm for an
ipywidgetswidget.The relevant widget model is selected based on the model name given in the
comm_openmessage data.- Parameters:
comm_container – The notebook this Comm belongs to
comm_id – The ID of the Comm
data – The data field from the
comm_openmessagebuffers – The buffers field from the
comm_openmessage
- Returns:
The initialized widget Comm object.