yuqian90 commented on pull request #10153: URL: https://github.com/apache/airflow/pull/10153#issuecomment-686359741
Hi, @houqp and @casassg , as we discussed in [this comment](https://github.com/apache/airflow/pull/10153#discussion_r479914159) and this email ["[AIP-34] Rewrite SubDagOperator"](https://lists.apache.org/thread.html/r2e62854d1fdcee2627dcfb724c90a7215d2b325c5736905f62c53332%40%3Cdev.airflow.apache.org%3E), I added a flag `prefix_group_id` to `TaskGroup`. It defaults to `True`. If we don't want the `task_id` to be prefixed by its `TaskGroup`, we can pass `prefix_group_id=False` when creating the `TaskGroup`. That's it. This makes `TaskGroup` easy to use for most cases, and also allows preserving the original `task_id` if the user really wants to. Please take another look at the PR. ---------------------------------------------------------------- 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]
