Closed jacobtomlinson closed 2 months ago
Fixes #285
When calling asyncio.get_event_loop() in an __init__() was causing problems in IPython. This PR moves that call into a coroutine so that is run via the anyio portal where there is guaranteed to be an event loop.
asyncio.get_event_loop()
__init__()
anyio
Fixes #285
When calling
asyncio.get_event_loop()
in an__init__()
was causing problems in IPython. This PR moves that call into a coroutine so that is run via theanyio
portal where there is guaranteed to be an event loop.