Skip to content

Commit

Permalink
fs: walk: remove topdown
Browse files Browse the repository at this point in the history
Not supported by fsspec and not used by us anyway.

Fixes iterative/dvc-s3#5
  • Loading branch information
efiop authored Jul 10, 2022
1 parent 157e4bf commit b181357
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/dvc_objects/fs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,13 +391,8 @@ def upload_fobj(self, fobj: IO, to_info: AnyFSPath, **kwargs) -> None:
length=getattr(fdest, "blocksize", None), # type: ignore
)

def walk(
self,
path: AnyFSPath,
topdown: bool = True,
**kwargs: Any,
):
return self.fs.walk(path, topdown=topdown, **kwargs)
def walk(self, path: AnyFSPath, **kwargs: Any):
return self.fs.walk(path, **kwargs)

def glob(self, path: AnyFSPath, **kwargs: Any):
return self.fs.glob(path, **kwargs)
Expand Down

0 comments on commit b181357

Please sign in to comment.