You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2023/09/14 10:12:00 UTC

[GitHub] [airflow] uranusjr commented on a diff in pull request #34337: Fix pre-mature evaluation of tasks in mapped task group

uranusjr commented on code in PR #34337:
URL: https://github.com/apache/airflow/pull/34337#discussion_r1325725620


##########
airflow/ti_deps/deps/trigger_rule_dep.py:
##########
@@ -146,6 +146,11 @@ def _get_relevant_upstream_map_indexes(upstream_id: str) -> int | range | None:
                 expanded_ti_count = _get_expanded_ti_count()
             except (NotFullyPopulated, NotMapped):
                 return None
+            if ti.map_index < 0:

Review Comment:
   I wonder why this case does not raise NotFullyPopulated



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org