dabla commented on code in PR #62922:
URL: https://github.com/apache/airflow/pull/62922#discussion_r3734413600


##########
airflow-core/tests/unit/serialization/test_dag_serialization.py:
##########
@@ -2874,6 +2874,7 @@ def test_operator_expand_serde():
         "template_ext": [".sh", ".bash"],
         "template_fields_renderers": {"bash_command": "bash", "env": "json"},
         "ui_color": "#f0ede4",
+        "_register_with_dag": True,

Review Comment:
   The fields is needed in the Task Iteration, otherwise each iteration would 
add the task to the DAG which would lead to task duplication errors.



##########
airflow-core/tests/unit/serialization/test_dag_serialization.py:
##########
@@ -2874,6 +2874,7 @@ def test_operator_expand_serde():
         "template_ext": [".sh", ".bash"],
         "template_fields_renderers": {"bash_command": "bash", "env": "json"},
         "ui_color": "#f0ede4",
+        "_register_with_dag": True,

Review Comment:
   The field is needed in the Task Iteration, otherwise each iteration would 
add the task to the DAG which would lead to task duplication errors.



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