{ } Raw JSON

bundles / jupyter_client latest / jupyter_client / client / KernelClient / start_channels

function

jupyter_client.client:KernelClient.start_channels

source: /jupyter_client/client.py:294

Signature

def start_channels(self, shell: bool = True, iopub: bool = True, stdin: bool = True, hb: bool = True, control: bool = True) → None

Summary

Starts the channels for this kernel.

Extended Summary

This will create the channels if they do not exist and then start them (their activity runs in a thread). If port numbers of 0 are being used (random ports) then you must first call start_kernel. If the channels have been stopped and you call this, RuntimeError will be raised.

Aliases

  • jupyter_client.KernelClient.start_channels