kaxil commented on code in PR #57277:
URL: https://github.com/apache/airflow/pull/57277#discussion_r2463814233
##########
airflow-core/src/airflow/jobs/scheduler_job_runner.py:
##########
@@ -340,7 +340,8 @@ def _executable_task_instances_to_queued(self, max_tis:
int, session: Session) -
executable_tis: list[TI] = []
- if session.get_bind().dialect.name == "postgresql":
+ bind = session.get_bind()
+ if bind is not None and bind.dialect.name == "postgresql":
Review Comment:
there is a `get_dialect_name` func in one of the utils module
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]