The GitHub Actions job "Tests" on airflow.git/remove-airflow-and-airflow-sdk-imports-from-shared-secrets has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: c40be76a2f734cdd3ce44f264adc104a4a614617 / Jarek Potiuk <[email protected]> Remove imports of airflow and airflow.sdk from shared secrets_backend Shared secrets backend distribution should not import anything from airflow or airflow.sdk. So far it was detecting which connection class to return based on _AIRFLOW_PROCESS_CONTEXT but this was a bit brittle and required the shared class to know about the users. This PR replaces it with injectong the connection class from outside by "set_connection_class". In both - task-sdk and airflow-core, the backends are initialized in a very similar way (this code will be soon extracted to common configuration) - but at the moment of initialization, we already know if we are in "airflow-core" or "task-sdk" context, so we can inject approproate Connection class. Report URL: https://github.com/apache/airflow/actions/runs/19992657028 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
