You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I missing something or is it not possible to decorate async methods with @method? The wrapped method here is not marked async: https://github.com/altdesktop/python-dbus-next/blob/master/dbus_next/service.py#L90
Should be easy to check, whether fn is a coroutine or not and then either provide an async or normal version of wrapped. Want a PR?
The text was updated successfully, but these errors were encountered:
Am I missing something or is it not possible to decorate async methods with
@method
? Thewrapped
method here is not markedasync
:https://github.com/altdesktop/python-dbus-next/blob/master/dbus_next/service.py#L90
Should be easy to check, whether
fn
is a coroutine or not and then either provide an async or normal version ofwrapped
. Want a PR?The text was updated successfully, but these errors were encountered: