nuclearpinguin commented on a change in pull request #7495: [AIRFLOW-6873] fix
mypyd errors and add new type annotations
URL: https://github.com/apache/airflow/pull/7495#discussion_r383166235
##########
File path: airflow/models/dagrun.py
##########
@@ -377,8 +378,13 @@ def _get_ready_tis(self, scheduleable_tasks,
finished_tasks, session):
return ready_tis, changed_tis
- def _are_premature_tis(self, unfinished_tasks, finished_tasks, session):
- # there might be runnable tasks that are up for retry and from some
reason(retry delay, etc) are
+ def _are_premature_tis(
+ self,
+ unfinished_tasks: List[TI],
+ finished_tasks: List[TI],
+ session,
Review comment:
```suggestion
session: Session,
```
----------------------------------------------------------------
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]
With regards,
Apache Git Services