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


##########
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:
   Should this not be outside the block instead? Why does this only need to be 
set for mapped task groups?



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