bundles / jupyter_client latest / 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) → NoneSummary
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