Skip to content

Conversation

VildMedPap
Copy link
Contributor

Hi,

While testing pydantic-ai in the Marimo reactive notebook framework (Github | Website), I ran into the RuntimeError: This event loop is already running error:
CleanShot 2025-04-10 at 20 25 26@2x

I resolved it by using nest_asyncio.apply():
CleanShot 2025-04-10 at 20 26 11@2x

I thought it might be helpful to add Marimo to the troubleshoot as a known environment where this solution works.

Copy link
Contributor

hyperlint-ai bot commented Apr 10, 2025

PR Change Summary

Added Marimo to the troubleshooting documentation as a known environment for resolving the 'RuntimeError: This event loop is already running' issue using nest_asyncio.

  • Updated troubleshooting notes to include Marimo as a supported environment for nest_asyncio.
  • Provided a link to the Marimo GitHub repository in the documentation.

Modified Files

  • docs/troubleshooting.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@Kludex
Copy link
Member

Kludex commented Apr 11, 2025

Thanks. :)

@Kludex Kludex merged commit 7a0aa17 into pydantic:main Apr 11, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants