bundles / jupyter_client 8.10.0 / jupyter_client / manager / KernelManager / _async_pre_start_kernel
function
jupyter_client.manager:KernelManager._async_pre_start_kernel
source: /jupyter_client/manager.py:457
Signature
async def _async_pre_start_kernel(self, *, transport_encryption: str | None = None, **kw: t.Any) → t.Tuple[t.List[str], t.Dict[str, t.Any]]Summary
Prepares a kernel for startup in a separate process.
Extended Summary
If random ports (port=0) are being used, this method must be called before the channels are created.
Parameters
`**kw`: optionalkeyword arguments that are passed down to build the kernel_cmd and launching the kernel (e.g. Popen kwargs).
Aliases
jupyter_client.AsyncKernelManager.pre_start_kernel