×

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:45 2025
md5 checksum d2c156866ea561742ca7d0ce941bcf27
build py_0
depends python >=3.5
license BSD-2-Clause
license_family BSD
md5 d2c156866ea561742ca7d0ce941bcf27
name nest-asyncio
noarch python
sha1 f1d59a7d5cb54c21ddf1310af890a64b2ef54ad0
sha256 e804ddd381895b5c012628f8dbf6e365c24e55adb45af0fb954e6a413a0631a0
size 10682
subdir noarch
timestamp 1601499576770
version 1.4.1