Skip to content

MappingKernelManager.start_kernel should use kernel_id for new kernel if it doesn't exist #403

@vidartf

Description

@vidartf

The docstring of MappingKernelManager.start_kernel says:

kernel_id : uuid
The uuid to associate the new kernel with. If this
is not None, this kernel will be persistent whenever it is
requested.

But if the kernel id doesn't currently exist, it throws an error:

self._check_kernel_id(kernel_id)

So, the method should probably be changed to reflect the docstring (which is consistent with the behavior in jupyter client).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions