Parallel each
loops now supported
#242
slundberg
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
You can now run
each
loops in parallel using theparallel=True
parameter. This is can be useful if you are sending off lots of API calls in a loops and want them to run in parallel rather than serially. This is supported as of0.0.62
Here is a simple example:
Note that you have to also set
hidden=True
when doing parallel loops because previous iterations of the loop cannot serve as context for future iterations if they are all run in parallel.Beta Was this translation helpful? Give feedback.
All reactions