uranusjr commented on a change in pull request #21798:
URL: https://github.com/apache/airflow/pull/21798#discussion_r816305634
##########
File path: airflow/operators/trigger_dagrun.py
##########
@@ -43,14 +48,27 @@ class TriggerDagRunLink(BaseOperatorLink):
name = 'Triggered DAG'
- def get_link(self, operator, dttm):
+ def get_link(
+ self,
+ operator: "AbstractOperator",
+ dttm: Optional[datetime.datetime] = None,
+ *,
+ ti_key: Optional["TaskInstanceKey"] = None,
+ ) -> str:
Review comment:
Just implementing the new signature should work fine. We could also
implement the compatibility signature and ignore the compatibility arguments
(with a note explaining this is fine).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]