Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Oct 29, 2023
1 parent 999dfe5 commit 4ce82c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1884,8 +1884,8 @@ def init_configurables(self) -> None:
self.gateway_config = GatewayClient.instance(parent=self)

if not issubclass(
self.kernel_manager_class,
AsyncMappingKernelManager, # type:ignore[arg-type]
self.kernel_manager_class, # type:ignore[arg-type]
AsyncMappingKernelManager,
):
warnings.warn(
"The synchronous MappingKernelManager class is deprecated and will not be supported in Jupyter Server 3.0",
Expand All @@ -1894,8 +1894,8 @@ def init_configurables(self) -> None:
)

if not issubclass(
self.contents_manager_class,
AsyncContentsManager, # type:ignore[arg-type]
self.contents_manager_class, # type:ignore[arg-type]
AsyncContentsManager,
):
warnings.warn(
"The synchronous ContentsManager classes are deprecated and will not be supported in Jupyter Server 3.0",
Expand Down

0 comments on commit 4ce82c8

Please sign in to comment.