ashb commented on issue #54778:
URL: https://github.com/apache/airflow/issues/54778#issuecomment-3228308695

   This is not unique to mapped operators, anything that sets it outside of the 
operator `__init__` would suffer the same (and mapped ops don't create the real 
instances at parse time, so they don't make it in to the serialized DAG)
   
   For example this also wouldn't show the defined link:
   
   ```python
   class CustomOperator(BaseOperator):
   
       def __init__(self, value, **kwargs):
           super().__init__(**kwargs)
           self.value = value
   
       def execute(self, context):
           self.operator_extra_links = (CustomLink(), )
           print("Running custom operator to render operator_extra_links!")
   ```


-- 
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]

Reply via email to