Skip to content

Commit c3f75b8

Browse files
committed
[feat/1316] test cases fix
1 parent c24734c commit c3f75b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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")
19+
SUPPORTED_METHODS = ("GET", "HEAD") # type:ignore[assignment]
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",)
93+
SUPPORTED_METHODS = ("GET",) # type:ignore[assignment]
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",)
161+
SUPPORTED_METHODS = ("POST",) # type:ignore[assignment]
162162
auth_resource = AUTH_RESOURCE
163163

164164
@web.authenticated

0 commit comments

Comments
 (0)