Skip to content

Commit

Permalink
fix(fs): rename get file args to fsspec spec (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein authored Nov 2, 2024
1 parent 84ad6ea commit ce85cab
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
Expand Up @@ -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
Expand Down

0 comments on commit ce85cab

Please sign in to comment.