ashb commented on code in PR #25788:
URL: https://github.com/apache/airflow/pull/25788#discussion_r948891233


##########
airflow/models/dagrun.py:
##########
@@ -1030,7 +1030,7 @@ def expand_mapped_literals(
         tasks_and_map_idxs = map(expand_mapped_literals, filter(task_filter, 
dag.task_dict.values()))
 
         tasks = itertools.chain.from_iterable(itertools.starmap(task_creator, 
tasks_and_map_idxs))
-        if missing_indexes:
+        if missing_indexes and any(len(v) for _, v in missing_indexes.items()):

Review Comment:
   Though surely this change isn't needed as it's only passed in the one case 
from ti_scheduling_decisons when we've already performed this check.



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