anishgirianish commented on code in PR #62343: URL: https://github.com/apache/airflow/pull/62343#discussion_r2842187524
########## airflow-core/src/airflow/api_fastapi/core_api/routes/public/connections.py: ########## @@ -56,13 +59,38 @@ from airflow.configuration import conf from airflow.exceptions import AirflowNotFoundException from airflow.models import Connection +from airflow.models.callback import CallbackFetchMethod, ExecutorCallback +from airflow.models.connection_test import ( + RUN_CONNECTION_TEST_PATH, + ConnectionTest, + ConnectionTestState, +) from airflow.secrets.environment_variables import CONN_ENV_PREFIX from airflow.utils.db import create_default_connections as db_create_default_connections from airflow.utils.strings import get_random_string connections_router = AirflowRouter(tags=["Connection"], prefix="/connections") Review Comment: thanks for the pointer! Would be great to refactor the sync endpoint to internally queue and stream/wait using the same approach. Happy to explore that as a follow-up once this lands. -- 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]
