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

Refactor ExternalDagLink to not create ad hoc TaskInstances #36135

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

josh-fell
Copy link
Contributor

This operator link creates an ad hoc TaskInstance to build its output URL. Generally we moved away from this approach starting with #21285.

This PR updates the operator link to use TaskInstance.get_task_instance() instead.

@boring-cyborg boring-cyborg bot added the area:core-operators Operators, Sensors and hooks within Core Airflow label Dec 9, 2023
This operator link creates an ad hoc TaskInstance to build its output URL. Generally we moved away from this approach starting with apache#21285.

This PR updates the operator link to use `TaskInstance.get_task_instance()` instead.
@eladkal eladkal added this to the Airflow 2.8.0 milestone Dec 9, 2023
@eladkal eladkal added the type:improvement Changelog: Improvements label Dec 9, 2023
@potiuk potiuk merged commit 712df04 into apache:main Dec 10, 2023
50 checks passed
@josh-fell josh-fell deleted the external-dag-link branch December 11, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core-operators Operators, Sensors and hooks within Core Airflow type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants