Skip to content

Commit 26b16f8

Browse files
committed
type
1 parent 13f5487 commit 26b16f8

File tree

1 file changed

+2
-2
lines changed
  • projects/jupyter-server-ydoc/jupyter_server_ydoc

1 file changed

+2
-2
lines changed

projects/jupyter-server-ydoc/jupyter_server_ydoc/handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,8 @@ class DocSessionHandler(APIHandler):
440440
auth_resource = "contents"
441441

442442
@web.authenticated
443-
@authorized
444-
async def put(self, path: str):
443+
@authorized # type: ignore[misc]
444+
async def put(self, path: str) -> asynio.Future[Any]:
445445
"""
446446
Creates a new session for a given document or returns an existing one.
447447
"""

0 commit comments

Comments
 (0)