Skip to content

Commit 49d001c

Browse files
committed
Merge branch 'main' into use-stdlib-override-when-possible
2 parents ed62679 + 56e2478 commit 49d001c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

jupyter_server/kernelspecs/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class KernelSpecResourceHandler(web.StaticFileHandler, JupyterHandler):
1717
"""A Kernelspec resource handler."""
1818

19-
SUPPORTED_METHODS = ("GET", "HEAD") # type:ignore[assignment]
19+
SUPPORTED_METHODS = ("GET", "HEAD")
2020
auth_resource = AUTH_RESOURCE
2121

2222
def initialize(self):

jupyter_server/nbconvert/handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class NbconvertFileHandler(JupyterHandler):
9090
"""An nbconvert file handler."""
9191

9292
auth_resource = AUTH_RESOURCE
93-
SUPPORTED_METHODS = ("GET",) # type:ignore[assignment]
93+
SUPPORTED_METHODS = ("GET",)
9494

9595
@web.authenticated
9696
@authorized
@@ -158,7 +158,7 @@ async def get(self, format, path):
158158
class NbconvertPostHandler(JupyterHandler):
159159
"""An nbconvert post handler."""
160160

161-
SUPPORTED_METHODS = ("POST",) # type:ignore[assignment]
161+
SUPPORTED_METHODS = ("POST",)
162162
auth_resource = AUTH_RESOURCE
163163

164164
@web.authenticated

jupyter_server/services/contents/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ class NotebooksRedirectHandler(JupyterHandler):
400400
"PATCH",
401401
"POST",
402402
"DELETE",
403-
) # type:ignore[assignment]
403+
)
404404

405405
@allow_unauthenticated
406406
def get(self, path):

0 commit comments

Comments
 (0)