Skip to content

Commit

Permalink
fix: update lock file to be consistent with toml file (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
lchen-2101 authored Jan 19, 2024
1 parent 9531fb6 commit 4d47642
Show file tree
Hide file tree
Showing 2 changed files with 355 additions and 349 deletions.
5 changes: 4 additions & 1 deletion db_revisions/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
INST_DB_HOST = os.environ.get("INST_DB_HOST")
INST_DB_NAME = os.environ.get("INST_DB_NAME")
INST_DB_SCHEMA = os.environ.get("INST_DB_SCHEMA")
INST_CONN = f"postgresql://{INST_DB_USER}:{(parse.quote(INST_DB_PWD, safe='')).replace('%', '%%')}@{INST_DB_HOST}/{INST_DB_NAME}"
INST_CONN = (
f"postgresql://{INST_DB_USER}:{(parse.quote(INST_DB_PWD, safe='')).replace('%', '%%')}"
f"@{INST_DB_HOST}/{INST_DB_NAME}"
)
config.set_main_option("sqlalchemy.url", INST_CONN)

# end specific SBL configuration
Expand Down
Loading

0 comments on commit 4d47642

Please sign in to comment.