{ } Raw JSON

bundles / jupyter_client 8.10.0 / jupyter_client / connect / ConnectionFileMixin / cleanup_random_ports

function

jupyter_client.connect:ConnectionFileMixin.cleanup_random_ports

source: /jupyter_client/connect.py:517

Signature

def cleanup_random_ports(self) → None

Summary

Forgets randomly assigned port numbers and cleans up the connection file.

Extended Summary

Does nothing if no port numbers have been randomly assigned. In particular, does nothing unless the transport is tcp.

Aliases

  • jupyter_client.client.ConnectionFileMixin.cleanup_random_ports