-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[batch] Fix batch local mode in jupyter notebooks (#13614)
The `LocalBackend` recently was changed to include a call to `async_to_blocking` but does not apply `nest_asyncio`, so using the local backend in a jupyter notebook breaks. I lifted the application of `nest_asyncio` from the `ServiceBackend` to the super class. Should we add a test that runs in its own python session to make sure that this is caught?
- Loading branch information
1 parent
c95f2d1
commit ccb4a94
Showing
2 changed files
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters