Skip to content

Implement asset.multi#44711

Merged
uranusjr merged 3 commits intoapache:mainfrom
astronomer:asset-multi
Dec 6, 2024
Merged

Implement asset.multi#44711
uranusjr merged 3 commits intoapache:mainfrom
astronomer:asset-multi

Conversation

@uranusjr
Copy link
Member

@uranusjr uranusjr commented Dec 6, 2024

This allows a function to emit multiple assets. In this case, you are on your own providing proper names to each asset, but it would work.

Also includes refactoring to the existing decorator mechanism so we don't need to repeat code (especially arguments).

Close #42316.

This allows a function to emit multiple assets. In this case, you are on
your own providing proper names to each asset, but it would work.

Also includes refactoring to the existing decorator mechanism so we
don't need to repeat code (especially arguments).
@uranusjr uranusjr added the AIP-75 Asset-Centric Syntax label Dec 6, 2024
@uranusjr uranusjr added this to the Airflow 3.0.0 milestone Dec 6, 2024
@uranusjr uranusjr requested a review from Lee-W December 6, 2024 02:05
@uranusjr uranusjr mentioned this pull request Dec 6, 2024
2 tasks
@uranusjr uranusjr merged commit da3bdbf into apache:main Dec 6, 2024
@uranusjr uranusjr deleted the asset-multi branch December 6, 2024 14:22
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
This allows a function to emit multiple assets. In this case, you are on
your own providing proper names to each asset, but it would work.

Also includes refactoring to the existing decorator mechanism so we
don't need to repeat code (especially arguments).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AIP-75 Asset-Centric Syntax area:task-sdk

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Implement @asset.multi

2 participants