Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(fs): rename get file args to fsspec spec
Browse files Browse the repository at this point in the history
shcheklein committed Nov 2, 2024
1 parent 84ad6ea commit b741384
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pydrive2/fs/spec.py
Original file line number Diff line number Diff line change
@@ -573,10 +573,10 @@ def mv(self, path1, path2, maxdepth=None, **kwargs):
# TODO need to invalidate the cache for the old path, see #232
file1.Upload()

def get_file(self, lpath, rpath, callback=None, block_size=None, **kwargs):
item_id = self._get_item_id(lpath)
def get_file(self, rpath, lpath, callback=None, block_size=None, **kwargs):
item_id = self._get_item_id(rpath)
return self._gdrive_get_file(
item_id, rpath, callback=callback, block_size=block_size
item_id, lpath, callback=callback, block_size=block_size
)

@_gdrive_retry

0 comments on commit b741384

Please sign in to comment.