diff --git a/fsspec/.DS_Store b/fsspec/.DS_Store new file mode 100644 index 000000000..8771af717 Binary files /dev/null and b/fsspec/.DS_Store differ diff --git a/fsspec/spec.py b/fsspec/spec.py index fe33c3616..82e62a790 100644 --- a/fsspec/spec.py +++ b/fsspec/spec.py @@ -676,7 +676,7 @@ def cat_file(self, path, start=None, end=None, **kwargs): def pipe_file(self, path, value, **kwargs): """Set the bytes of given file""" - with self.open(path, "wb") as f: + with self.open(path, "wb", **kwargs) as f: f.write(value) def pipe(self, path, value=None, **kwargs):