Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and davidbrochart committed Oct 17, 2022
1 parent 9f65ff3 commit e69ed2f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions jupyter_server_fileid/handlers.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
from tornado import web

from jupyter_server.auth import authorized
from jupyter_server.base.handlers import APIHandler

from tornado import web

AUTH_RESOURCE = "contents"


class FileIdAPIHandler(APIHandler):
auth_resource = AUTH_RESOURCE


class FileIdHandler(FileIdAPIHandler):

@web.authenticated
@authorized
async def get(self, path):
Expand Down

0 comments on commit e69ed2f

Please sign in to comment.