This is an automated email from the ASF dual-hosted git repository.

ash 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 2ac45b011d Remove self.using_mysql attribute (#27571)
2ac45b011d is described below

commit 2ac45b011d04ac141a15abfc24cc054687cadbc2
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.
---
 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 444ee3b0e7..21e57b5057 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
 

Reply via email to