Skip to content

Commit 99b9126

Browse files
Import User unconditionally (#1384)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d3aaaa9 commit 99b9126

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jupyter_server/base/handlers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
from jupyter_server._sysinfo import get_sys_info
3131
from jupyter_server._tz import utcnow
3232
from jupyter_server.auth.decorator import authorized
33+
from jupyter_server.auth.identity import User
3334
from jupyter_server.i18n import combine_translations
3435
from jupyter_server.services.security import csp_report_uri
3536
from jupyter_server.utils import (
@@ -47,7 +48,7 @@
4748
from tornado.concurrent import Future
4849

4950
from jupyter_server.auth.authorizer import Authorizer
50-
from jupyter_server.auth.identity import IdentityProvider, User
51+
from jupyter_server.auth.identity import IdentityProvider
5152
from jupyter_server.serverapp import ServerApp
5253
from jupyter_server.services.config.manager import ConfigManager
5354
from jupyter_server.services.contents.manager import ContentsManager

0 commit comments

Comments
 (0)