uranusjr commented on code in PR #32122:
URL: https://github.com/apache/airflow/pull/32122#discussion_r1264885796


##########
airflow/serialization/serialized_objects.py:
##########
@@ -1401,6 +1401,8 @@ def serialize_task_group(cls, task_group: TaskGroup) -> 
dict[str, Any] | None:
                 "value": cls.serialize(expand_input.value),
             }
             encoded["is_mapped"] = True
+            if task_group.max_active_groups_per_dagrun is not None:
+                encoded["max_active_groups_per_dagrun"] = 
task_group.max_active_groups_per_dagrun

Review Comment:
   The serialisation data is important for recording purpose though (the result 
is shown in UI, for example), and silently dropping the value can be confusing.



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to