Skip to content

Commit

Permalink
explicitly wrap flush LocalFileOpener (#1070)
Browse files Browse the repository at this point in the history
* explicitly wrap flush and name of LocalFileOpener

* revert explicit wrapping of local name

Co-authored-by: Peter Barmettler <peter.barmettler@raccoonworks.ch>
  • Loading branch information
ptrba and Peter Barmettler committed Oct 11, 2022
1 parent 3969aaf commit 30b2da7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fsspec/implementations/local.py
Expand Up @@ -364,6 +364,9 @@ def closed(self):
def fileno(self):
return self.raw.fileno()

def flush(self) -> None:
self.f.flush()

def __iter__(self):
return self.f.__iter__()

Expand Down

0 comments on commit 30b2da7

Please sign in to comment.