bundles / jupyter_client 8.10.0 / jupyter_client / provisioning / provisioner_base / KernelProvisionerBase / cleanup
function
jupyter_client.provisioning.provisioner_base:KernelProvisionerBase.cleanup
source: /jupyter_client/provisioning/provisioner_base.py:114
Signature
async def cleanup(self, restart: bool = False) → NoneSummary
Cleanup any resources allocated on behalf of the kernel provisioner.
Extended Summary
This method is called from KernelManager.cleanup_resources() as part of its shutdown kernel sequence.
restart is True if this operation precedes a start launch_kernel request.
Aliases
jupyter_client.KernelProvisionerBase.cleanup