uranusjr commented on code in PR #55169:
URL: https://github.com/apache/airflow/pull/55169#discussion_r2318404395
##########
airflow-core/tests/unit/utils/test_task_group.py:
##########
@@ -195,11 +197,10 @@
"tooltip": "",
"type": "task",
},
- {"id": "task5", "label": "task5", "operator": "EmptyOperator", "type":
"task"},
],
Review Comment:
In the SDK, things are in the order they are defined by the user. However,
we sort the children when we serialise a task group (probably to improve
consistency?) so the ordering changed.
https://github.com/apache/airflow/blob/0351fbf2c4ebe7c9081e86c6c0007efdaf549abb/airflow-core/src/airflow/serialization/serialized_objects.py#L3447-L3454
--
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]