This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-4-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 676c1ee9b30b6bffcfa21379548cd39386230299 Author: TreyYi <[email protected]> AuthorDate: Thu Nov 10 02:58:41 2022 +0900 Remove self.using_mysql attribute (#27571) This is to remove `self.using_mysql` attribute since it is not used in scheduler_job.py. (cherry picked from commit 2ac45b011d04ac141a15abfc24cc054687cadbc2) --- airflow/jobs/scheduler_job.py | 1 - 1 file changed, 1 deletion(-) diff --git a/airflow/jobs/scheduler_job.py b/airflow/jobs/scheduler_job.py index 74541a1cf8..03a7935ed9 100644 --- a/airflow/jobs/scheduler_job.py +++ b/airflow/jobs/scheduler_job.py @@ -151,7 +151,6 @@ class SchedulerJob(BaseJob): # Check what SQL backend we use sql_conn: str = conf.get_mandatory_value('database', 'sql_alchemy_conn').lower() self.using_sqlite = sql_conn.startswith('sqlite') - self.using_mysql = sql_conn.startswith('mysql') # Dag Processor agent - not used in Dag Processor standalone mode. self.processor_agent: DagFileProcessorAgent | None = None
