euporie.core.tabs.base.open_comm

euporie.core.tabs.base.open_comm(comm_container: KernelTab, content: dict[str, Any], buffers: Sequence[bytes]) Comm

Create a new object respsenting a Comm.

The class used to represent the Comm is determined by the “target_class” given in the comm_open message.

Parameters:
  • comm_container – The notebook this comm belongs to

  • content – The content of the comm_open message

  • buffers – A list of binary data buffers sent with the comm_open message

Returns:

A class representing the comm