-
Notifications
You must be signed in to change notification settings - Fork 305
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
Write Tasks and SubWorkflows in Dynamic Job Spec #111
Conversation
'a': input_a, | ||
}, | ||
outputs={ | ||
'ooo': Output(node1.outputs.out1, sdk_type=Types.Integer, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do things still work if this line isn't here? that is, if the sub workflow runs a task for side-effect, and has no outputs, and hence doesn't pass any outputs along through the workflow, will that task still be seen as an upstream entity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a unit test below to test that... seem to work..
Codecov Report
@@ Coverage Diff @@
## master #111 +/- ##
==========================================
+ Coverage 81.68% 81.78% +0.09%
==========================================
Files 209 209
Lines 13462 13529 +67
Branches 1120 1121 +1
==========================================
+ Hits 10997 11065 +68
+ Misses 2200 2199 -1
Partials 265 265
Continue to review full report at Codecov.
|
This PR is tangentially related to flyteorg/flyte#246 (imo). However this PR here will not be deprecated by that work in order to allow the usage of unregistered tasks (and less ideally, the yielding of tasks in subworkflows which are registered, but which differ in structure. Haytham - please correct me if i'm wrong. (related, can this be used as a hack to override resource constraints in tasks?) |
* Write Tasks and SubWorkflows in Dynamic Job Spec * Add a unit test with no outputs * Merge master * Correctly merge * address PR comments
TL;DR
Enable dynamic_tasks to yield dynamically generated workflows.
Type
Are all requirements met?
Tracking Issue
https://github.com/lyft/flyte/issues/