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

Expand() usage does not pickup .output if task with expand comes before in yaml def/dict keys of task referenced in expand #225

Open
StephenOTT opened this issue Oct 1, 2024 · 1 comment

Comments

@StephenOTT
Copy link

StephenOTT commented Oct 1, 2024

If you have something like

Tasks:
   Task1:
      ...
      Dependencies: [Task2]
      Expand: 
         Some_arg: Task2.output

   Task2:
      ...

Then when dagbuilder parses the tank/duct is does not properly change the expand arg to a referenced Xcom and it remains as a are

@tatiana tatiana added this to the DAG Factory 0.21.0 milestone Oct 21, 2024
@tatiana
Copy link
Collaborator

tatiana commented Oct 21, 2024

Thanks a lot for reporting this issue, @StephenOTT ! Would you be willing to contribute a fix? We should add an example DAG that leverages this so we can avoid regressions, once we fix this.

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

No branches or pull requests

2 participants