File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
jupyter_server/services/contents Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -123,10 +123,6 @@ def _checkpoints_class_default(self):
123123 def _files_handler_class_default (self ):
124124 return AuthenticatedFileHandler
125125
126- @default ("files_handler_params" )
127- def _files_handler_params_default (self ):
128- return {"path" : self .root_dir }
129-
130126 def is_hidden (self , path ):
131127 """Does the API style path correspond to a hidden directory or file?
132128
Original file line number Diff line number Diff line change @@ -363,6 +363,10 @@ def _default_checkpoints_kwargs(self):
363363 """ ,
364364 )
365365
366+ @default ("files_handler_params" )
367+ def _files_handler_params_default (self ):
368+ return {"path" : self .root_dir }
369+
366370 def get_extra_handlers (self ):
367371 """Return additional handlers
368372
You can’t perform that action at this time.
0 commit comments