Skip to content

Commit

Permalink
Remove self.using_mysql attribute (#27571)
Browse files Browse the repository at this point in the history
This is to remove `self.using_mysql` attribute since it is not used in scheduler_job.py.
  • Loading branch information
treyyi committed Nov 9, 2022
1 parent e84c032 commit 2ac45b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion airflow/jobs/scheduler_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def __init__(
# 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

Expand Down

0 comments on commit 2ac45b0

Please sign in to comment.