ashb commented on a change in pull request #21020:
URL: https://github.com/apache/airflow/pull/21020#discussion_r791164340



##########
File path: airflow/models/dagrun.py
##########
@@ -511,8 +511,12 @@ def update_state(
             finished_tasks = info.finished_tasks
             unfinished_tasks = info.unfinished_tasks
 
-            none_depends_on_past = all(not t.task.depends_on_past for t in 
unfinished_tasks)
-            none_task_concurrency = all(t.task.max_active_tis_per_dag is None 
for t in unfinished_tasks)
+            none_depends_on_past = all(
+                not t.task.depends_on_past for t in unfinished_tasks  # type: 
ignore[has-type]

Review comment:
       Oh, `t.task` could be None as far as typing is concenred?




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