×

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 Mon Mar 31 22:51:09 2025
md5 checksum 38b3a91da879bb3527698a292bffc26a
arch x86_64
build py310h06a4308_0
depends python >=3.10,<3.11.0a0
license BSD-2-Clause
license_family BSD
md5 38b3a91da879bb3527698a292bffc26a
name nest-asyncio
platform linux
sha1 8c1147d30ae72f28c6e245d37d614eb34a8c318a
sha256 3d12a01771709498edc17b3e86dae9887a000aec5bd09172fcb8698c704da94e
size 16242
subdir linux-64
timestamp 1649830102129
version 1.5.5