Skip to content

Commit 1a5666f

Browse files
authored
dvc-ssh: remove import from fsspec's callback (#57)
1 parent a298d49 commit 1a5666f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

dvc_ssh/__init__.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import threading
44
from typing import ClassVar
55

6-
from fsspec.callbacks import DEFAULT_CALLBACK
76
from funcy import memoize, silent, wrap_prop, wrap_with
87

98
from dvc.utils.objects import cached_property
@@ -137,11 +136,7 @@ def put_file(
137136
self,
138137
from_file,
139138
to_info,
140-
callback=DEFAULT_CALLBACK,
141-
size=None,
142139
**kwargs,
143140
):
144141
with as_atomic(self, to_info) as tmp_file:
145-
super().put_file(
146-
from_file, tmp_file, callback=callback, size=size, **kwargs
147-
)
142+
super().put_file(from_file, tmp_file, **kwargs)

0 commit comments

Comments
 (0)