We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
@method
wrapped
async
fn
The text was updated successfully, but these errors were encountered:
It is already possible using the aio MessageBus. If you are curious why:
python-dbus-next/dbus_next/aio/message_bus.py
Line 345 in ab566e1
Sorry, something went wrong.
No branches or pull requests
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: