mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-07 15:28:28 +01:00
Update dvc/fs/http.py
Co-authored-by: Saugat Pachhai <[email protected]>
This commit is contained in:
committed by
Ruslan Kuprieiev
co-authored by
Saugat Pachhai
parent
0fea622266
commit
2f6b6cc586
+1
-1
@@ -137,6 +137,6 @@ class HTTPFileSystem(NoDirectoriesMixin, FSSpecWrapper):
|
||||
callback: Any = DEFAULT_CALLBACK,
|
||||
**kwargs,
|
||||
) -> None:
|
||||
kwargs["method"] = self.upload_method
|
||||
kwargs.setdefault("method", self.upload_method)
|
||||
self.fs.put_file(from_file, to_info, callback=callback, **kwargs)
|
||||
self.fs.invalidate_cache(self.path.parent(to_info))
|
||||
|
||||
Reference in New Issue
Block a user