-
Notifications
You must be signed in to change notification settings - Fork 772
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
Support for flows with intersecting branches #182
Comments
@miloszbednarzak I am curious what would be the use case for the first graph? The reason we lean for graphs of later nature is that it's easier to reason about their execution characteristics. |
@savingoyal Let's say that functions in steps # in a1b1 step
ones_data = [input.one_kind for input in inputs]
# in a2b2 step
twos_data = [input.two_kind for input in inputs] In second, legitimate variant I need to group them in ones_data = [self.a1_data, self.b1_data]
twos_data = [self.a2_data, self.b2_data] In this toy example there is not much difference, but my actual graph is much more complex and I'd like to group data by kind not by using their artefact variable name in grouping operation, but by pointing output to the step which will group all inputs automatically. |
Makes sense. We are discussing a number of enhancements to the flow structure, including introducing the notion of sub workflows, but the timing is TBD. |
@savingoyal : Are you guys planning to add dynamic DAG support ? |
@valayDave The exact implementation, as well as UX for sub-workflows, is TBD. |
I'd like to implement flow in which its branches intersects with each other like:
Code:
It throws error:
I know I can reimplement this like:
Code:
In my case looking from a perspective of visual graph second implementation looks cleaner, but from implementation perspective it brings unnecessary additional steps.
Are there any plans to add support for this kind of Flows?
Thanks!
The text was updated successfully, but these errors were encountered: