Skip to content

Commit 5523269

Browse files
committed
One more attempt at pre-commit checks
1 parent 6ced051 commit 5523269

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyter_server/gateway/gateway_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from jupyter_events import EventLogger
1919
from tornado import web
2020
from tornado.httpclient import AsyncHTTPClient, HTTPClientError, HTTPResponse
21-
from tornado.httputil import HTTPHeaders
2221
from traitlets import (
2322
Bool,
2423
Float,
@@ -35,6 +34,9 @@
3534

3635
from jupyter_server import DEFAULT_EVENTS_SCHEMA_PATH, JUPYTER_SERVER_EVENTS_URI
3736

37+
if ty.TYPE_CHECKING:
38+
from tornado.httputil import HTTPHeaders
39+
3840
ERROR_STATUS = "error"
3941
SUCCESS_STATUS = "success"
4042
STATUS_KEY = "status"

0 commit comments

Comments
 (0)