-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add generator executor #238
Add generator executor #238
Conversation
4273e31
to
5d2b846
Compare
Nice change! That's excellent that we can iterate through recipes one step at a time. |
I think I am going to merge this as it does not yet remove or deprecate any existing functionality, and it contains significant improvements to the testing and code organization. In a follow-up PR, I will document this new feature and consider how to deprecate the old manual execution steps. |
👍 I am going to use this functionality to run pangeo-forge/staged-recipes#93 today and take notes for the follow-on documentation PR. |
This PR adds a
.to_generator()
method to theBaseRecipe
class. It allows one to iterate through a recipe as follows:This will eventually replace the explicit mode of manual recipe execution and open the door to more flexible recipe patterns (e.g. #224).