Skip to content

Commit

Permalink
fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Nargis Sultani committed Nov 26, 2023
1 parent 832950f commit 31c8d1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
26 changes: 0 additions & 26 deletions db_revisions/versions/5ff583272481_test_revision.py

This file was deleted.

4 changes: 3 additions & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
INST_DB_URL = f"postgresql://{INST_DB_USER}:{INST_DB_PWD}@{INST_DB_HOST}/{INST_DB_NAME}"
# end specific SBL configuration


def get_alembic_config(db_url: str = INST_DB_URL) -> Config:
alembic_cfg = Config()
alembic_cfg.set_main_option("script_location", alembic_dir)
Expand All @@ -52,7 +53,8 @@ def upgrade_database(revision: str = "head", db_url: str = INST_DB_URL) -> None:
alembic_cfg = get_alembic_config(db_url)
alembic.upgrade(alembic_cfg, revision)

#End Alembic

# End Alembic

JWT_OPTS_PREFIX = "jwt_opts_"

Expand Down

0 comments on commit 31c8d1f

Please sign in to comment.