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 49d001c commit e610ce7Copy full SHA for e610ce7
jupyter_server/services/kernels/kernelmanager.py
@@ -11,6 +11,7 @@
11
import asyncio
12
import os
13
import pathlib # noqa: TCH003
14
+import sys
15
import typing as t
16
import warnings
17
from collections import defaultdict
@@ -25,9 +26,9 @@
25
26
from jupyter_events import EventLogger
27
from jupyter_events.schema_registry import SchemaRegistryException
28
-try:
29
+if sys.version_info >= (3, 12):
30
from typing import override as overrides
-except ImportError:
31
+else:
32
from overrides import overrides
33
from tornado import web
34
from tornado.concurrent import Future
0 commit comments