ephraimbuddy commented on code in PR #53450:
URL: https://github.com/apache/airflow/pull/53450#discussion_r2213479961


##########
task-sdk/src/airflow/sdk/definitions/taskgroup.py:
##########
@@ -715,5 +723,44 @@ def task_group_to_dict(task_item_or_group):
         "tooltip": task_group.tooltip,
         "is_mapped": is_mapped,
         "children": children,
-        "type": "task_group",
+        "type": "task",

Review Comment:
   The `task_group_to_dict` in task-sdk has not been used anywhere and I 
replaced it with the one from airflow.utils.task_group which is used in several 
places. In that one, the type is `task` and not task_group. it was changed in 
this PR: https://github.com/apache/airflow/pull/44572/files. 



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