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
Deprecated since version 3.10: Deprecation warning is emitted if there is no running event loop. In future Python releases, this function will be an alias of get_running_loop().
It seems @async_handler will fail with RuntimeError: no running event loop in that case. Do you think this correct?
Perhaps a solution is to effectively move the deprecated functionality into the module itself. I created a PR for this.
The text was updated successfully, but these errors were encountered:
Hi! Thanks for writing and maintaining this module! 😄
The Python 3.10 docs for
asyncio.get_event_loop()
note:It seems
@async_handler
will fail withRuntimeError: no running event loop
in that case. Do you think this correct?Perhaps a solution is to effectively move the deprecated functionality into the module itself. I created a PR for this.
The text was updated successfully, but these errors were encountered: