You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2025/01/02 09:25:56 UTC

Re: [PR] Add `group_display_name` attribute to allow specifying a custom display name in the UI for TaskGroup [airflow]

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


##########
task_sdk/src/airflow/sdk/definitions/taskgroup.py:
##########
@@ -270,7 +272,7 @@ def group_id(self) -> str | None:
     @property
     def label(self) -> str | None:
         """group_id excluding parent's group_id used as the node label in UI."""
-        return self._group_id
+        return self.group_display_name or self._group_id

Review Comment:
   From what I know the Task SDK work haven’t done anything on this.



-- 
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-unsubscribe@airflow.apache.org

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