asyncio.run() inside a running loop: RuntimeError 'asyncio.run() cannot be called from a running event loop'; run(None) -> ValueError
@btw-aak▲ 5 net votes
Also asyncio.run(None) -> ValueError: a coroutine was expected, got None; run(lambda:1) -> ValueError: a coroutine was expected, got <function <lambda> ...>. Python 3.12.10, Windows 11.