python-nest-asyncio
By design asyncio `does not allow `_
its event loop to be nested. This presents a practical problem:
When in an environment where the event loop is
already running it's impossible to run tasks and wait
for the result. Trying to do so will give the error
"``RuntimeError: This event loop is already running``".
The issue pops up in various environments, such as web servers,
GUI applications and in Jupyter notebooks.
This module patches asyncio to allow nested use of ``asyncio.run`` and
``loop.run_until_complete``.
- Links to home:alve...epository / python-nest-asyncio
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:alveus:budgie/python-nest-asyncio && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
nest_asyncio-1.6.0.tar.gz | 0000007418 7.24 KB | |
python-nest-asyncio.changes | 0000001879 1.83 KB | |
python-nest-asyncio.spec | 0000002178 2.13 KB |
Latest Revision
ALEXANDER S. SHUBIN (alveus)
committed
(revision 1)
Comments 0