Skip to content
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

Nested Subworkflow #203

Merged
merged 2 commits into from
Oct 8, 2020
Merged

Nested Subworkflow #203

merged 2 commits into from
Oct 8, 2020

Conversation

kumare3
Copy link
Contributor

@kumare3 kumare3 commented Oct 8, 2020

No description provided.

@kumare3 kumare3 merged commit 16c1e30 into annotations Oct 8, 2020

input_literal_map = _literal_models.LiteralMap(literals=kwargs)

outputs_literal_map = self.dispatch_execute(ctx, input_literal_map)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So i know this was done in another PR, when you removed the stupid BaseExecutor thing, but it harkens back to this discussion here: https://lyft.slack.com/archives/GAG9AAS9K/p1600964346001300 - where we were discussing whether a) tasks knew how to execute themselves b) they relied on an executor to execute them.

I feel like we all seemed inclined at the time to go with the latter option - you kinda wrote something like it in the google doc https://docs.google.com/document/d/1nJprPSZtxbXQLoafD2xeN0JIueHnEb6TNIsJiXHF6rY/edit

We're sure we're okay with this change? This is the right thing to do?

@workflow
def my_wf(a: int, b: str) -> (int, str, str):
x, y = t1(a=a)
u, v = my_subwf(a=x)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you end up with two node-0's in the current scheme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants