gopidesupavan commented on code in PR #53191:
URL: https://github.com/apache/airflow/pull/53191#discussion_r2200967106
##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -308,9 +309,9 @@ def _get_upstream_map_indexes(
mapped_ti_count =
upstream_mapped_group.get_parse_time_mapped_ti_count()
except NotFullyPopulated:
# for cases that needs to resolve xcom to get the correct count
- mapped_ti_count =
upstream_mapped_group._expand_input.get_total_map_length(
- run_id, session=session
- )
+ mapped_ti_count = cast(
+ "SchedulerExpandInput", upstream_mapped_group._expand_input
+ ).get_total_map_length(run_id, session=session)
Review Comment:
was looking at this, i think get_total_map_length method not available on
`SchedulerExpandInput `
--
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]