This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-3-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 8a95092c9ecd1f930d82880618236c3d526dff8e Author: Tzu-ping Chung <[email protected]> AuthorDate: Tue Jun 28 10:59:00 2022 +0800 TriggerDagRunOperator.operator_extra_links is attr (#24676) There's absolutely no reason this needs to be a property. And it cannot be since we need to access this at the class level. (cherry picked from commit 8dcafdfcdddc77fdfd2401757dcbc15bfec76d6b) --- airflow/operators/trigger_dagrun.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/airflow/operators/trigger_dagrun.py b/airflow/operators/trigger_dagrun.py index 4578fd2df8..8045b5796a 100644 --- a/airflow/operators/trigger_dagrun.py +++ b/airflow/operators/trigger_dagrun.py @@ -87,11 +87,7 @@ class TriggerDagRunOperator(BaseOperator): template_fields: Sequence[str] = ("trigger_dag_id", "trigger_run_id", "execution_date", "conf") template_fields_renderers = {"conf": "py"} ui_color = "#ffefeb" - - @property - def operator_extra_links(self): - """Return operator extra links""" - return [TriggerDagRunLink()] + operator_extra_links = [TriggerDagRunLink()] def __init__( self,
