travis-cook-sfdc commented on issue #28870:
URL: https://github.com/apache/airflow/issues/28870#issuecomment-1387745349

   > nice discussion. I see the problem now, and yeah, I agree having support 
for dynamic collection of links in operator is a better idea
   
   @potiuk - It does seem like `operator_extra_links` in theory would support a 
dynamic collection of links.
   
   
https://github.com/apache/airflow/blob/main/airflow/models/baseoperator.py#L634
   
   Assuming you write `operator_extra_links` in your operator class as
   ```
   @property
   def operator_extra_links(self, ...):
       ...
       return (x, y, ...)
   ```
   
   I think the issue has to do with how those extra links are registered as 
plugins but perhaps I'm not understanding how this could be implemented 
correctly?


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to