rawwar commented on code in PR #43675:
URL: https://github.com/apache/airflow/pull/43675#discussion_r1843264816


##########
airflow/api_fastapi/core_api/routes/public/task_instances.py:
##########
@@ -335,3 +337,37 @@ def get_task_instances(
         ],
         total_entries=total_entries,
     )
+
+
+@task_instances_router.get(
+    "/{task_id}/tries/{task_try_number}", 
responses=create_openapi_http_exception_doc([401, 403, 404])

Review Comment:
   401 and 403 are now added to the base router. Refer to 
https://github.com/apache/airflow/pull/43932
   ```suggestion
       "/{task_id}/tries/{task_try_number}", 
responses=create_openapi_http_exception_doc([status.HTTP_404_NOT_FOUND])
   ```



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