acoustic-carpenter-78188
10/27/2023, 3:36 AM>> operation within workflow. for example:
@workflow()
def wf():
a = print_a() # task: print ("a")
b = print_b() # task: print ("b")
b >> a
wf() # should output "b\na"
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☐ Smoke tested
☑︎ Unit tests added
☐ Code documentation added
☑︎ Any pending items have an associated Issue
Complete description
1. Support BranchNode local execution by adding ConditionalSection in __init__
2. Add __call__ in BrachNode to eval all its expression via kwargs.
3. Eval all the _lhs and _rhs of ComparisonExpression and ConjunctionExpression via DFS.
4. Support local execution on Gate --> Need check, I just use the first key in kwargs as output.
5. Implemented the Core algorithm.
a. Do topological sort on workflow._nodes, check if cycle exists.
b. Follow the implementation in ImperativeWorkflow
c. Support dynamic by compiled one more time.
d. Recursive execution with BranchNode
f. Modify dynamic local execution flow
Tracking Issue
flyteorg/flyte#4080
Follow-up issue
NA
OR
https://github.com/flyteorg/flyte/issues/
flyteorg/flytekit
✅ All checks have passed
2/2 successful checksacoustic-carpenter-78188
10/27/2023, 3:36 AM