This is an automated email from the ASF dual-hosted git repository.

pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 053c8a5516f AIP-84 remove remnants of async def (#43831)
053c8a5516f is described below

commit 053c8a5516fde9844bfa582b16913bb7695049d7
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Sat Nov 9 03:01:06 2024 +0800

    AIP-84 remove remnants of async def (#43831)
---
 airflow/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 6f89dc9ad97..75b34e2cc3e 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,

Reply via email to