Bootstrap Python rewrite skeleton

This commit is contained in:
2026-04-19 20:19:58 +02:00
parent 7818a3fb44
commit 31390882ef
72 changed files with 2273 additions and 62 deletions
+15
View File
@@ -0,0 +1,15 @@
from collections.abc import Generator
from sqlalchemy.orm import Session
from app.config import Settings, get_settings
from app.db import get_db_session
def get_app_settings() -> Settings:
return get_settings()
def get_db() -> Generator[Session, None, None]:
yield from get_db_session()