diff --git a/synchronicity/synchronizer.py b/synchronicity/synchronizer.py index dce78af..f45e1f3 100644 --- a/synchronicity/synchronizer.py +++ b/synchronicity/synchronizer.py @@ -626,6 +626,9 @@ def _wrap_class(self, cls, interface, name, target_module=None): new_dict[k] = self._wrap_proxy_classmethod(v, interface) elif isinstance(v, property): new_dict[k] = self._wrap_proxy_property(v, interface) + elif isinstance(v, MethodWithAio): + # if library defines its own "synchronicity-like" interface we transfer it "as is" to the wrapper + new_dict[k] = v elif callable(v): new_dict[k] = self._wrap_proxy_method(v, interface)