-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes a bug in which nested subdags were not passed required
configuration parameters We're aggressive in pruning parameters we pass to decorators, so they don't use everything. SubDAGs didn't declare them, as they only know the configurations required once they parse the function that they decorate, as well as import the subdags they use. Rather than the more correct, but more complicated fix, this utilizes the "out" -- allowing required_config to return None so everything gets passed in. We need to think about the best way to do this, but for now this is little harm and we can walk it back -- the contract is solid.
- Loading branch information
1 parent
be630a3
commit 7783d21
Showing
2 changed files
with
136 additions
and
1 deletion.
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