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

Only excluded actually expanded fields from render #25599

Merged

Conversation

uranusjr
Copy link
Member

@uranusjr uranusjr commented Aug 8, 2022

Previously we excluded all mapped kwargs from being rendered, which cause issues for fields that are not actually rendered during expansion (i.e. those that are literals). This new implementation adds some extra logic to ensure we still include kwargs that still need rendering.

Fix #25588.

@uranusjr uranusjr added this to the Airflow 2.3.4 milestone Aug 8, 2022
@ferruzzi
Copy link
Contributor

ferruzzi commented Aug 8, 2022

Seems to make sense.

Previously we excluded all mapped kwargs from being rendered, which
cause issues for fields that are not actually rendered during expansion
(i.e. those that are literals). This new implementation adds some extra
logic to ensure we still include kwargs that still need rendering.
@uranusjr uranusjr force-pushed the unmap-render-none-xcomarg-field branch from ad73089 to 317a93b Compare August 9, 2022 01:46
@ephraimbuddy ephraimbuddy merged commit ed39703 into apache:main Aug 15, 2022
@ephraimbuddy ephraimbuddy deleted the unmap-render-none-xcomarg-field branch August 15, 2022 12:02
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mapped KubernetesPodOperater not rendering nested templates
3 participants