kaxil commented on a change in pull request #15308:
URL: https://github.com/apache/airflow/pull/15308#discussion_r614465134



##########
File path: airflow/models/dag.py
##########
@@ -1504,6 +1504,8 @@ def filter_task_group(group, parent_group):
                 if isinstance(child, BaseOperator):
                     if child.task_id in dag.task_dict:
                         copied.children[child.task_id] = 
dag.task_dict[child.task_id]
+                    else:
+                        copied.used_group_ids.discard(child.task_id)

Review comment:
       Can you write a unit test for it please?




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


Reply via email to