diff --git a/airflow/api_fastapi/core_api/routes/public/task_instances.py b/airflow/api_fastapi/core_api/routes/public/task_instances.py index 6f89dc9ad974..75b34e2cc3e2 100644 --- a/airflow/api_fastapi/core_api/routes/public/task_instances.py +++ b/airflow/api_fastapi/core_api/routes/public/task_instances.py @@ -91,7 +91,7 @@ def get_task_instance( [status.HTTP_401_UNAUTHORIZED, status.HTTP_403_FORBIDDEN, status.HTTP_404_NOT_FOUND] ), ) -async def get_mapped_task_instances( +def get_mapped_task_instances( dag_id: str, dag_run_id: str, task_id: str, @@ -184,7 +184,7 @@ async def get_mapped_task_instances( [status.HTTP_401_UNAUTHORIZED, status.HTTP_403_FORBIDDEN, status.HTTP_404_NOT_FOUND] ), ) -async def get_task_instance_dependencies( +def get_task_instance_dependencies( dag_id: str, dag_run_id: str, task_id: str, @@ -267,7 +267,7 @@ def get_mapped_task_instance( [status.HTTP_401_UNAUTHORIZED, status.HTTP_403_FORBIDDEN, status.HTTP_404_NOT_FOUND] ), ) -async def get_task_instances( +def get_task_instances( dag_id: str, dag_run_id: str, request: Request,