kaxil commented on code in PR #33479:
URL: https://github.com/apache/airflow/pull/33479#discussion_r1298841597
##########
airflow/www/views.py:
##########
@@ -3229,8 +3229,7 @@ def duration(self, dag_id: str, session: Session =
NEW_SESSION):
# we must group any mapped TIs by dag_id, task_id, run_id
mapped_tis = set()
- tis_grouped = itertools.groupby(task_instances, lambda x: (x.dag_id,
x.task_id, x.run_id))
- for _, group in tis_grouped:
+ for _, group in it.groupby(task_instances, lambda x: (x.dag_id,
x.task_id, x.run_id)):
Review Comment:
hmm ? why this change?
--
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]