{ } Raw JSON

bundles / jupyter_client 8.10.0 / jupyter_client / multikernelmanager / MultiKernelManager / _async_shutdown_kernel

function

jupyter_client.multikernelmanager:MultiKernelManager._async_shutdown_kernel

source: /jupyter_client/multikernelmanager.py:288

Signature

async def _async_shutdown_kernel(self, kernel_id: str, now: bool | None = False, restart: bool | None = False) → None

Summary

Shutdown a kernel by its kernel uuid.

Parameters

kernel_id : uuid

The id of the kernel to shutdown.

now : bool

Should the kernel be shutdown forcibly using a signal.

restart : bool

Will the kernel be restarted?

Aliases

  • jupyter_client.AsyncMultiKernelManager.shutdown_kernel