mypy init

This commit is contained in:
2026-10-10 17:46:16 +01:00
parent 3fab51fe70
commit 7038d8546b
3 changed files with 19 additions and 10 deletions
+2 -3
View File
@@ -65,9 +65,8 @@ def run_migrations_online() -> None:
and associate a connection with the context.
"""
if get_set_engine() is not None:
connectable = get_set_engine()
else:
connectable = get_set_engine()
if connectable is None:
connectable = engine_from_config(
config.get_section(config.config_ini_section, {}),
prefix="sqlalchemy.",