We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4b29a commit d695ae8Copy full SHA for d695ae8
jupyter_server/services/kernels/kernelmanager.py
@@ -220,7 +220,7 @@ async def _async_start_kernel(
220
if path is not None:
221
kwargs["cwd"] = self.cwd_for_path(path, env=kwargs.get("env", {}))
222
if kernel_id is not None:
223
- assert kernel_id is not None
+ assert kernel_id is not None, "Never Fail, but necessary for mypy "
224
kwargs["kernel_id"] = kernel_id
225
kernel_id = await self.pinned_superclass._async_start_kernel(self, **kwargs)
226
self._kernel_connections[kernel_id] = 0
0 commit comments