Skip to content

Commit

Permalink
Merge pull request #206 from mahendrapaipuri/fix_metamanager
Browse files Browse the repository at this point in the history
fix: Remove unnecessary copy method overload in MetaManager
  • Loading branch information
timkpaine authored Jun 15, 2024
2 parents 03015c8 + 5de2aba commit 7e7d6a4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions jupyterfs/metamanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def root_dir(self):
is_hidden = path_first_arg("is_hidden", False, sync=True)
dir_exists = path_first_arg("dir_exists", False, sync=True)
file_exists = path_kwarg("file_exists", "", False, sync=True)
exists = path_first_arg("exists", False, sync=False)
exists = path_first_arg("exists", False, sync=True)

save = path_second_arg("save", "model", True, sync=True)
rename = path_old_new("rename", False, sync=True)
Expand All @@ -170,9 +170,6 @@ class SyncMetaManager(MetaManagerShared, ContentsManager): ...


class MetaManager(MetaManagerShared, AsyncContentsManager):
async def copy(self, from_path, to_path=None):
return super(MetaManagerShared, self).copy(from_path=from_path, to_path=to_path)

is_hidden = path_first_arg("is_hidden", False, sync=False)
dir_exists = path_first_arg("dir_exists", False, sync=False)
file_exists = path_kwarg("file_exists", "", False, sync=False)
Expand Down

0 comments on commit 7e7d6a4

Please sign in to comment.