From 27f27e317751c5e508bc75b911ee38ce2378de7e Mon Sep 17 00:00:00 2001 From: pierrejeambrun Date: Fri, 8 Nov 2024 17:22:13 +0100 Subject: [PATCH] AIP-84 remove remnants of async def --- .../api_fastapi/core_api/routes/public/task_instances.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,