{ } Raw JSON

bundles / jupyter_client 8.10.0 / jupyter_client / provisioning / provisioner_base / KernelProvisionerBase / get_shutdown_wait_time

function

jupyter_client.provisioning.provisioner_base:KernelProvisionerBase.get_shutdown_wait_time

source: /jupyter_client/provisioning/provisioner_base.py:201

Signature

def get_shutdown_wait_time(self, recommended: float = 5.0) → float

Summary

Returns the time allowed for a complete shutdown. This may vary by provisioner.

Extended Summary

This method is called from KernelManager.finish_shutdown() during the graceful phase of its kernel shutdown sequence.

The recommended value will typically be what is configured in the kernel manager.

Aliases

  • jupyter_client.KernelProvisionerBase.get_shutdown_wait_time