ashb commented on pull request #12228:
URL: https://github.com/apache/airflow/pull/12228#issuecomment-749183064
Yeah.
Thinking more about the decorator form:
```
@taskgroup
def section(value):
```
For that to need to be a function, it probably needs to be able to override
the TG name i.e. this usage:
```python
for i in ...:
section(name=f'section_{i}')
```
(We could of course have the same behaviour as for tasks, where we
auto-apply a `__1` suffix etc. This could be what we do, I haven't look at the
code PR yet, sorry!)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]