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


##########
airflow/api_connexion/endpoints/task_instance_endpoint.py:
##########
@@ -255,7 +251,8 @@ def get_mapped_task_instances(
     else:
         query = query.order_by(TI.map_index.asc())
 
-    task_instances = query.offset(offset).limit(limit).all()
+    task_instances = session.execute(query.offset(offset).limit(limit)).all()

Review Comment:
   Oh wait this is **not** the part that’s failing! The failing tests actually 
point to `get_mapped_task_instance_endpoint` above. (This is 
`get_task_instances`.)



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