Skip to content

Commit c01921e

Browse files
authored
callback: remove getattr error now that the upgrade is done on all projects (#261)
1 parent 902b65c commit c01921e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/dvc_objects/fs/callbacks.py

-7
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,6 @@ def branch(
6565

6666

6767
class Callback(ScopedCallback):
68-
def __getattr__(self, item):
69-
if item in ["wrap_fn", "wrap_coro", "wrap_and_branch", "wrap_and_branch_coro"]:
70-
raise AttributeError(
71-
f"{type(self).__name__!r} object has no attribute {item!r}"
72-
)
73-
return super().__getattr__(item)
74-
7568
def relative_update(self, inc: int = 1) -> None:
7669
inc = inc if inc is not None else 0
7770
return super().relative_update(inc)

0 commit comments

Comments
 (0)