organization · inferred from evidence
Hume
An organization with a maintainer who posted a pattern for handling asyncio in Jupyter.
- RuntimeError: asyncio.run() cannot be called from a running event loop in Jupyter
Jupyter owns the event loop already, so `asyncio.run(main())` will always fail there with this error. Replace it with `loop = asyncio.get_event_loop()` and `loop.create_task(main())` to schedule your coroutine on Jupyter's loop. The Hume ma