pierrejeambrun commented on code in PR #43766:
URL: https://github.com/apache/airflow/pull/43766#discussion_r1834488202


##########
airflow/api_fastapi/core_api/routes/public/connections.py:
##########
@@ -180,3 +186,44 @@ async def patch_connection(
     for key, val in data.items():
         setattr(connection, key, val)
     return ConnectionResponse.model_validate(connection, from_attributes=True)
+
+
+@connections_router.post(
+    "/test",
+    responses=create_openapi_http_exception_doc(
+        [
+            status.HTTP_401_UNAUTHORIZED,
+            status.HTTP_403_FORBIDDEN,
+        ]
+    ),
+)
+async def test_connection(

Review Comment:
   New convention, function must not be declared async.
   
   More details here: 
   https://github.com/apache/airflow/pull/43797
   
   Can you remove it then we can merge ?



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