-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor out common workflow annotation iteration
Multiple methods in _io_mixins resolve the same problem of iterating through all fields, constructing a workflow annotation based on the user's annotations, defaulting the name if unset or falling back to a Parameter if no annotation is found. Factor that logic out into an iterator, simplifying the various methods and reducing the risk of discrepancies and bugs in future. Signed-off-by: Alice Purcell <alicederyn@gmail.com>
- Loading branch information
1 parent
70fd617
commit 519f83d
Showing
1 changed file
with
45 additions
and
85 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