potiuk commented on a change in pull request #17578:
URL: https://github.com/apache/airflow/pull/17578#discussion_r689629955
##########
File path: airflow/utils/task_group.py
##########
@@ -94,10 +95,15 @@ def __init__(
self.used_group_ids: Set[Optional[str]] = set()
self._parent_group = None
else:
- if not isinstance(group_id, str):
- raise ValueError("group_id must be str")
- if not group_id:
- raise ValueError("group_id must not be empty")
+ if prefix_group_id:
Review comment:
Ah yeah. Adding optional TaskGroupDescription, same as TaskDescription
would be a pretty neat feature and would solve the problem (though seems like
for ids the cat is already out-of-the-bag for Airflow 2 due to potential
incompatibilities if someone has Task Group with spaces/national characters.).
--
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]