jedcunningham commented on code in PR #48477:
URL: https://github.com/apache/airflow/pull/48477#discussion_r2020069950


##########
airflow-core/src/airflow/serialization/serialized_objects.py:
##########
@@ -1865,7 +1865,7 @@ def set_ref(task: Operator) -> Operator:
                 if _type == DAT.OP
                 else cls.deserialize_task_group(val, group, task_dict, dag=dag)
             )
-            for label, (_type, val) in encoded_group["children"].items()
+            for label, (_type, val) in 
sorted(encoded_group["children"].items(), key=lambda x: x[0])

Review Comment:
   ```suggestion
               for label, (_type, val) in 
sorted(encoded_group["children"].items())
   ```
   
   #48534 will do this change first, with a test, but to fix test here I'm 
going to leave this in here.



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