Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nested event loops execution #35

Merged
merged 1 commit into from
Mar 9, 2020
Merged

Fix nested event loops execution #35

merged 1 commit into from
Mar 9, 2020

Conversation

davidbrochart
Copy link
Member

Fixes RuntimeError: This event loop is already running when nbclient.execute is run in an environment where an event loop is already running (e.g. Binder). See #7 (comment).

@choldgraf
Copy link
Contributor

choldgraf commented Mar 9, 2020

As we don't have the Binder repo merged yet it's a bit hard to know if that fixes the problem, but I did try running @davidbrochart 's branch on Binder here:

https://mybinder.org/v2/gh/davidbrochart/nbclient/56a1b042499673026759f43807e6169a69541aae

then created a notebook and used nbclient to execute it, and it worked! So +1 from me

@MSeal MSeal merged commit 7a02a56 into jupyter:master Mar 9, 2020
@davidbrochart davidbrochart deleted the fix_nested_loop branch March 9, 2020 16:14
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.

3 participants