ytoprakc commented on code in PR #67207:
URL: https://github.com/apache/airflow/pull/67207#discussion_r3313713154


##########
airflow-core/src/airflow/api_fastapi/core_api/services/ui/task_group.py:
##########
@@ -110,9 +112,13 @@ def task_group_to_dict_grid(task_item_or_group, 
parent_group_is_mapped=False):
         for x in task_group_sort(task_group)
     ]
 
-    return {
+    node = {
         "id": task_group.group_id,
         "label": task_group.group_display_name or task_group.label,
         "is_mapped": mapped or None,
         "children": children or None,
     }
+    doc_md = getattr(task_group, "doc_md", None)

Review Comment:
   I changed this to use direct `task_group.doc_md` access, matching the 
surrounding `tooltip`, `group_id`, and label handling.



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