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_r333787095
 
 

 ##########
 File path: tests/serialization/test_dag_serialization.py
 ##########
 @@ -67,14 +69,49 @@
                 "ui_color": "#fff",
                 "ui_fgcolor": "#000",
                 "template_fields": [],
+                "extra_links": [],
                 "_task_type": "BaseOperator",
             },
+            "custom_task": {
+                "task_id": "custom_task",
+                "retries": 1,
+                "retry_delay": 300.0,
+                "_downstream_task_ids": [],
+                "_inlets": {
+                    "auto": False, "task_ids": [], "datasets": []
+                },
+                "_outlets": {"datasets": []},
+                "ui_color": "#fff",
+                "ui_fgcolor": "#000",
+                "template_fields": [],
+                "extra_links": ["github"],
 
 Review comment:
   I have updated it with a different approach: 
https://github.com/coufon/airflow/compare/d7bc655..39b5b7c?expand=1
   
   Also created a separate PR for it https://github.com/apache/airflow/pull/6302
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to