{ } Raw JSON

bundles / ipykernel latest / ipykernel / kernelbase / Kernel / record_ports

function

ipykernel.kernelbase:Kernel.record_ports

source: /ipykernel/kernelbase.py:636

Signature

def record_ports(self, ports)

Summary

Record the ports that this kernel is using.

Extended Summary

The creator of the Kernel instance must call this methods if they want the connect_request method to return the port numbers.

Aliases

  • ipykernel.kernelbase.Kernel.record_ports