Skip to content

Commit 440b2f3

Browse files
committed
add type to context var
1 parent f75e2e7 commit 440b2f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_server/base/handlers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def log():
6767
return app_log
6868

6969

70-
CURRENT_JUPYTER_HANDLER = contextvars.ContextVar("CURRENT_JUPYTER_HANDLER")
70+
CURRENT_JUPYTER_HANDLER: JupyterHandler = contextvars.ContextVar("CURRENT_JUPYTER_HANDLER")
7171

7272

7373
class AuthenticatedHandler(web.RequestHandler):

0 commit comments

Comments
 (0)