From d07392fe15d30b61631de30c55b91dd0843bfef3 Mon Sep 17 00:00:00 2001 From: Andrey Anshin Date: Mon, 9 May 2022 11:50:33 +0300 Subject: [PATCH] Fix dag-processor fetch metabase config (#23575) (cherry picked from commit 9837e6d813744e3c5861c32e87b3aeb496d0f88d) --- airflow/cli/commands/dag_processor_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/cli/commands/dag_processor_command.py b/airflow/cli/commands/dag_processor_command.py index a07035be506dc..183b77dbe26b1 100644 --- a/airflow/cli/commands/dag_processor_command.py +++ b/airflow/cli/commands/dag_processor_command.py @@ -50,7 +50,7 @@ def dag_processor(args): if not conf.getboolean("scheduler", "standalone_dag_processor"): raise SystemExit('The option [scheduler/standalone_dag_processor] must be True.') - sql_conn: str = conf.get('core', 'sql_alchemy_conn').lower() + sql_conn: str = conf.get('database', 'sql_alchemy_conn').lower() if sql_conn.startswith('sqlite'): raise SystemExit('Standalone DagProcessor is not supported when using sqlite.')