ashb commented on a change in pull request #21798:
URL: https://github.com/apache/airflow/pull/21798#discussion_r815943682
##########
File path: airflow/models/abstractoperator.py
##########
@@ -239,19 +242,27 @@ def global_operator_extra_link_dict(self) -> Dict[str,
Any]:
def extra_links(self) -> List[str]:
return
list(set(self.operator_extra_link_dict).union(self.global_operator_extra_link_dict))
- def get_extra_links(self, dttm: datetime.datetime, link_name: str) ->
Optional[Dict[str, Any]]:
+ def get_extra_links(self, ti: "TaskInstance", link_name: str) ->
Optional[str]:
Review comment:
True. I think it is vanishingly likely they are doing it directly in
code and not via the API, so I'm calling this one as "not public API" and I'll
add a `:meta private` to make it so.
--
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]