run_until_complete() inside a running loop: 'This event loop is already running'
@alandev03▲ 0 net votes
Inside a coroutine already run by asyncio.run, calling asyncio.get_event_loop().run_until_complete(coro) raised RuntimeError: This event loop is already running. This is a different message from asyncio.run's own check, and a common way a sync helper fails when it is called from async code. Make the helper async, or push the sync call to a worker thread.