Skip to content

Commit baa352a

Browse files
authored
Merge branch 'main' into briany/create-aro-login-pages
2 parents d4c84ac + a052725 commit baa352a

File tree

14 files changed

+91079
-4
lines changed

14 files changed

+91079
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
- id: end-of-file-fixer
1010
exclude: '((libs|hal)/.*|\.(ts|tsx|css|html|json|md|yaml|yml|ipynb)$)'
1111
- id: check-added-large-files
12-
exclude: "(libs|hal)/.*"
12+
exclude: "(libs|hal)/.*|gs/backend/data/resources/callsigns\\.csv$"
1313
- repo: https://github.com/pre-commit/mirrors-clang-format
1414
rev: v17.0.6
1515
hooks:

gs/backend/api/lifespan.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from fastapi_cache.backends.inmemory import InMemoryBackend
77

88
from gs.backend.data.database.engine import get_db_session, setup_database
9-
from gs.backend.data.resources.utils import add_main_commands
9+
from gs.backend.data.resources.utils import add_callsigns, add_main_commands
1010

1111

1212
@asynccontextmanager
@@ -19,4 +19,5 @@ async def lifespan(_: FastAPI) -> AsyncGenerator[None, None]:
1919
# Otherwise, will get transaction is inactive error
2020
setup_database(get_db_session())
2121
add_main_commands(get_db_session())
22+
add_callsigns(get_db_session())
2223
yield

0 commit comments

Comments
 (0)