This commit is contained in:
2026-01-18 12:23:01 +01:00
parent ef3d0ed970
commit bb1263edb8
86 changed files with 90289 additions and 0 deletions

13
backend/app/api/deps.py Normal file
View File

@@ -0,0 +1,13 @@
from __future__ import annotations
from sqlalchemy.orm import Session
from backend.app.db.database import SessionLocal
def get_db() -> Session:
db = SessionLocal()
try:
yield db
finally:
db.close()