Skip to content

Revert "Support templated extra in outlets assets (#54885)" - #55199

Merged
hussein-awala merged 1 commit into
apache:mainfrom
astronomer:revert-asset-extra-template
Sep 4, 2025
Merged

hussein-awala merged 1 commit into
apache:mainfrom
astronomer:revert-asset-extra-template

Conversation

@uranusjr

@uranusjr uranusjr commented Sep 3, 2025

Copy link
Copy Markdown
Member

This reverts #54885. The PR should not have gone in. Asset extras and asset event extras are different entities, and NOT DESIGNED TO BE MERGED.

https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/assets.html#attaching-extra-information-to-an-emitting-asset-event

This is an explicit design. It can be changed, but should not be done in a simple PR.

@Lee-W

Lee-W commented Sep 3, 2025

Copy link
Copy Markdown
Member

These two interface looks almost the same. Should we remove or rename one of them to avoid this kind of misunderstanding? I think AssetEvent extra is more useful than the asset one but asset extra also might have some use cases

@uranusjr

uranusjr commented Sep 3, 2025

Copy link
Copy Markdown
Member Author

See #55200 for a proposal to improve the situation.

@uranusjr uranusjr added this to the Airflow 3.1.0 milestone Sep 3, 2025
@uranusjr
uranusjr force-pushed the revert-asset-extra-template branch from 0c01f7f to f209fb5 Compare September 3, 2025 11:49

@hussein-awala hussein-awala left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I’m fine with this.

Would you like to implement your suggestion before version 3.1.0, or should I take care of it?

@hussein-awala
hussein-awala merged commit b9937fb into apache:main Sep 4, 2025
@ashb
ashb deleted the revert-asset-extra-template branch September 9, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants