You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/10/11 00:20:41 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #5743: [AIRFLOW-5088][AIP-24] Persisting serialized DAG in DB for webserver scalability

kaxil commented on a change in pull request #5743: [AIRFLOW-5088][AIP-24] Persisting serialized DAG in DB for webserver scalability
URL: https://github.com/apache/airflow/pull/5743#discussion_r333786118
 
 

 ##########
 File path: airflow/plugins_manager.py
 ##########
 @@ -57,8 +57,21 @@ class AirflowPlugin:
     # The function should have the following signature:
     # def func_name(stat_name: str) -> str:
     stat_name_handler = None  # type: Any
+
+    # A list of global operator extra links that can redirect users to
+    # external systems. These extra links will be available on the
+    # task page in the form of buttons.
+    #
+    # Note: the global operator extra link can be overridden at each
+    # operator level.
     global_operator_extra_links = []  # type: List[BaseOperatorLink]
 
+    # If ``store_serialized_dags = True`` (DAG Serialization is turned on)
+    # Operator extra links have to be defined in plugins to work.
+    # These extra links will be available on the task page in form of
+    # buttons.
+    serialized_operator_extra_links = []  # type: List[BaseOperatorLink]
 
 Review comment:
   Updated

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services