{ } Raw JSON

bundles / jupyter_client 8.10.0 / jupyter_client / multikernelmanager / MultiKernelManager / get_connection_info

function

jupyter_client.multikernelmanager:MultiKernelManager.get_connection_info

source: /jupyter_client/multikernelmanager.py:480

Signature

def get_connection_info(self, kernel_id: str) → dict[str, t.Any]

Summary

Return a dictionary of connection data for a kernel.

Parameters

kernel_id : uuid

The id of the kernel.

Returns

connection_dict : dict

A dict of the information needed to connect to a kernel. This includes the ip address and the integer port numbers of the different channels (stdin_port, iopub_port, shell_port, hb_port).

Aliases

  • jupyter_client.MultiKernelManager.get_connection_info