zmievsa commented on code in PR #49818:
URL: https://github.com/apache/airflow/pull/49818#discussion_r2064602871


##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/task_instances.py:
##########
@@ -593,6 +593,7 @@ def get_previous_successful_dagrun(
 def get_task_instance_count(
     dag_id: str,
     session: SessionDep,
+    map_index: Annotated[int | None, Query()] = None,

Review Comment:
   My usual recommendation is to only add migrations and new versions for 
breaking changes. Why don't we want it to be available in an older version? 
   
   Btw the easiest way to version queries is to use the pydantic class-based 
syntax for queries that is discussed in fastAPI docs for queries. 



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