{ } Raw JSON

bundles / jupyter_client 8.10.0 / jupyter_client / multikernelmanager / MultiKernelManager / connect_iopub

function

jupyter_client.multikernelmanager:MultiKernelManager.connect_iopub

source: /jupyter_client/multikernelmanager.py:498

Signature

def connect_iopub(self, kernel_id: str, identity: bytes | None = None) → socket.socket

Summary

Return a zmq Socket connected to the iopub channel.

Parameters

kernel_id : uuid

The id of the kernel

identity : bytes (optional)

The zmq identity of the socket

Returns

stream : zmq Socket or ZMQStream

Aliases

  • jupyter_client.MultiKernelManager.connect_iopub