Skip to content

Commit

Permalink
xfails
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Nov 8, 2024
1 parent d8bba78 commit fca4619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions obstore/python/obstore/fsspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ def _open(self, path, mode="rb", **kwargs):


class BufferedFileSimple(fsspec.spec.AbstractBufferedFile):
def __init__(self, fs, path, mode="rb", cache_type="none", **kwargs):
def __init__(self, fs, path, mode="rb", **kwargs):
if mode != "rb":
raise ValueError("Only 'rb' mode is currently supported")
super().__init__(fs, path, mode, mode, cache_type=cache_type, **kwargs)
super().__init__(fs, path, mode, **kwargs)

def read(self, length: int = -1):
"""Return bytes from the remote file
Expand Down

0 comments on commit fca4619

Please sign in to comment.