mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
committed by
Ruslan Kuprieiev
parent
f89f4ac152
commit
9bd9ac4a37
+3
-2
@@ -180,10 +180,11 @@ class FileSystem:
|
||||
self,
|
||||
path: AnyFSPath,
|
||||
mode: str = "r",
|
||||
encoding: Optional[str] = None,
|
||||
**kwargs,
|
||||
) -> "IO": # pylint: disable=arguments-differ
|
||||
return self.fs.open(path, mode=mode, encoding=encoding, **kwargs)
|
||||
if "b" in mode:
|
||||
kwargs.pop("encoding", None)
|
||||
return self.fs.open(path, mode=mode, **kwargs)
|
||||
|
||||
def read_block(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user