forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not dynamically determine op links for emr serverless (apache#40627)
The dynamic determination of which extra link to include for the EmrServerlessStartJobOperator does not work with templated fields, since that evaluation was happening at DAG parsing time. This dynamic determination has been completely removed because: 1) If using templated fields for some inputs it needed, DAG parsing would fail. 2) Changing the DAG definition relating to those links, would often remove links for all previous DAG runs. 3) It overly complicates the code. The new behaviour is to add all links to the TI and only those that are enabled will be "persisted" (i.e. actually have a link) and those that are not will be present but greyed out and will link back to the TI (the Airflow default).
- Loading branch information
1 parent
ae6aca1
commit a905c44
Showing
3 changed files
with
8 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters