pierrejeambrun commented on code in PR #44303:
URL: https://github.com/apache/airflow/pull/44303#discussion_r1858590322
##########
airflow/api_fastapi/core_api/routes/public/task_instances.py:
##########
@@ -469,7 +489,7 @@ def get_task_instance_try_details(
task_id: str,
task_try_number: int,
session: Annotated[Session, Depends(get_session)],
- map_index: int = -1,
+ map_index: Annotated[int, Depends(lambda: -1)],
Review Comment:
Why this change ? This seems odd, what are we trying to achieve ?
--
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]