bundles / jupyter_client 8.10.0 / jupyter_client / multikernelmanager / MultiKernelManager / _async_shutdown_kernel
function
jupyter_client.multikernelmanager:MultiKernelManager._async_shutdown_kernel
Signature
async def _async_shutdown_kernel(self, kernel_id: str, now: bool | None = False, restart: bool | None = False) → NoneSummary
Shutdown a kernel by its kernel uuid.
Parameters
kernel_id: uuidThe id of the kernel to shutdown.
now: boolShould the kernel be shutdown forcibly using a signal.
restart: boolWill the kernel be restarted?
Aliases
jupyter_client.AsyncMultiKernelManager.shutdown_kernel