dstandish commented on a change in pull request #22184:
URL: https://github.com/apache/airflow/pull/22184#discussion_r825310059



##########
File path: airflow/api_connexion/endpoints/task_instance_endpoint.py
##########
@@ -88,7 +79,7 @@ def get_task_instance(
         )
     if task_instance is None:
         raise NotFound("Task instance not found")
-    if task_instance[0].map_index != -1:
+    if task_instance.map_index != -1:

Review comment:
       No this is intentional, it's a consequence of the queries no longer 
adding entities it's no longer a tuple




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