×

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.

Uploaded Tue Apr 1 01:54:44 2025
md5 checksum 37f0f7c57b258dc00d5dbe2877887b25
build pyhd3eb1b0_0
depends python >=3.5
license BSD-2-Clause
license_family BSD
md5 37f0f7c57b258dc00d5dbe2877887b25
name nest-asyncio
noarch python
sha1 0fc7097ac5c462ac5a5bcf7a7aa5f6447a4b4c4f
sha256 602eb0da93d874cc7ccab04c0648fd01e7e068b4ec129cc7ea02cc7440c1c74a
size 10798
subdir noarch
timestamp 1605115914309
version 1.4.2