mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
fs: do not pass size to underlying fs.put_file
This commit is contained in:
committed by
Saugat Pachhai
parent
b53ebc1a5e
commit
f84f9cf184
+1
-1
@@ -273,7 +273,7 @@ class FileSystem:
|
||||
callback: FsspecCallback = DEFAULT_CALLBACK,
|
||||
**kwargs,
|
||||
) -> None:
|
||||
size = kwargs.get("size")
|
||||
size = kwargs.pop("size")
|
||||
if size:
|
||||
callback.set_size(size)
|
||||
if hasattr(from_file, "read"):
|
||||
|
||||
Reference in New Issue
Block a user