bundles / jupyter_client latest / jupyter_client / provisioning / provisioner_base / KernelProvisionerBase / shutdown_requested
function
jupyter_client.provisioning.provisioner_base:KernelProvisionerBase.shutdown_requested
source: /jupyter_client/provisioning/provisioner_base.py:126
Signature
async def shutdown_requested(self, restart: bool = False) → NoneSummary
Allows the provisioner to determine if the kernel's shutdown has been requested.
Extended Summary
This method is called from KernelManager.request_shutdown() as part of its shutdown sequence.
This method is optional and is primarily used in scenarios where the provisioner may need to perform other operations in preparation for a kernel's shutdown.
Aliases
jupyter_client.KernelProvisionerBase.shutdown_requested