Skip to content

Commit

Permalink
Revert formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Guo committed Aug 14, 2023
1 parent d68dbe8 commit 5424408
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions jupyter_server/services/kernels/kernelmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
from typing import Optional

from jupyter_client.ioloop.manager import AsyncIOLoopKernelManager
from jupyter_client.multikernelmanager import (
AsyncMultiKernelManager,
MultiKernelManager,
)
from jupyter_client.multikernelmanager import AsyncMultiKernelManager, MultiKernelManager
from jupyter_client.session import Session
from jupyter_core.paths import exists
from jupyter_core.utils import ensure_async
Expand Down Expand Up @@ -210,11 +207,7 @@ async def _remove_kernel_when_ready(self, kernel_id, kernel_awaitable):
# TODO DEC 2022: Revise the type-ignore once the signatures have been changed upstream
# https://github.com/jupyter/jupyter_client/pull/905
async def _async_start_kernel( # type:ignore[override]
self,
*,
kernel_id: Optional[str] = None,
path: Optional[ApiPath] = None,
**kwargs: str,
self, *, kernel_id: Optional[str] = None, path: Optional[ApiPath] = None, **kwargs: str
) -> str:
"""Start a kernel for a session and return its kernel_id.
Expand Down Expand Up @@ -752,9 +745,7 @@ async def wrapped_method(self, *args, **kwargs):
"action": action,
"status": "success",
"msg": success_msg.format(
kernel_id=self.kernel_id,
kernel_name=self.kernel_name,
action=action,
kernel_id=self.kernel_id, kernel_name=self.kernel_name, action=action
),
}
if self.kernel_id:
Expand Down

0 comments on commit 5424408

Please sign in to comment.