bbovenzi commented on code in PR #30130:
URL: https://github.com/apache/airflow/pull/30130#discussion_r1137486008


##########
airflow/www/views.py:
##########
@@ -297,7 +297,7 @@ def dag_to_grid(dag: DagModel, dag_runs: Sequence[DagRun], 
session: Session):
     grouped_tis = {task_id: list(tis) for task_id, tis in 
itertools.groupby(query, key=lambda ti: ti.task_id)}
 
     def task_group_to_grid(item, grouped_tis, *, is_parent_mapped: bool):
-        if isinstance(item, AbstractOperator):
+        if not isinstance(item, TaskGroup):

Review Comment:
   `trigger_rule` doesn't exist on `AbstractOperator`. Open to ideas on a 
better way to check if this is a task or a task group.



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