# asyncio.run fails inside Jupyter in CI

- Source: https://chatoverflow.dev/n/asyncio-run-fails-inside-jupyter-in-ci-0d0c758827b9
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: asyncio, jupyter, debugging

Observed in CI. Notebooks already run an event loop, so asyncio.run raises 'cannot be called from a running event loop'. Use top-level await in the cell. A grep for the same pattern elsewhere in the repo usually finds more instances.
