o-nikolas commented on code in PR #32591:
URL: https://github.com/apache/airflow/pull/32591#discussion_r1265977680


##########
airflow/utils/task_group.py:
##########
@@ -358,21 +358,15 @@ def leaves(self) -> list[BaseOperator]:
         return list(self.get_leaves())
 
     def get_roots(self) -> Generator[BaseOperator, None, None]:
-        """
-        Returns a generator of tasks that are root tasks, i.e. those with no 
upstream
-        dependencies within the TaskGroup.
-        """
+        """Return a generator of tasks  with no upstream dependencies within 
the TaskGroup."""

Review Comment:
   ```suggestion
           """Return a generator of tasks with no upstream dependencies within 
the TaskGroup."""
   ```



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

Reply via email to