This is an automated email from the ASF dual-hosted git repository.
jedcunningham 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 7d818c6e503 Block orm access on deprecated
AIRFLOW__CORE__SQL_ALCHEMY_CONN (#48240)
7d818c6e503 is described below
commit 7d818c6e503bb5633d5798c2fadb7f4e07761570
Author: Tamara Janina Fingerlin <[email protected]>
AuthorDate: Tue Mar 25 16:22:55 2025 +0100
Block orm access on deprecated AIRFLOW__CORE__SQL_ALCHEMY_CONN (#48240)
---
task-sdk/src/airflow/sdk/execution_time/supervisor.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/task-sdk/src/airflow/sdk/execution_time/supervisor.py
b/task-sdk/src/airflow/sdk/execution_time/supervisor.py
index 33ac30a1f6f..64ab34d6444 100644
--- a/task-sdk/src/airflow/sdk/execution_time/supervisor.py
+++ b/task-sdk/src/airflow/sdk/execution_time/supervisor.py
@@ -272,6 +272,7 @@ def block_orm_access():
settings.SQL_ALCHEMY_CONN_ASYNC = conn
os.environ["AIRFLOW__DATABASE__SQL_ALCHEMY_CONN"] = conn
+ os.environ["AIRFLOW__CORE__SQL_ALCHEMY_CONN"] = conn
def _fork_main(