Skip to content

Commit 0922a66

Browse files
committed
assert that configuration is not None
1 parent 3d0456e commit 0922a66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/app/alembic/env.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def run_migrations_online():
6363
6464
"""
6565
configuration = config.get_section(config.config_ini_section)
66+
assert configuration is not None
6667
configuration["sqlalchemy.url"] = get_url()
6768
connectable = engine_from_config(
6869
configuration,

0 commit comments

Comments
 (0)