feat: implement CRUD APIs for projects and scenarios with validated schemas

This commit is contained in:
2025-11-09 17:23:10 +01:00
parent 8bf46b80c8
commit 61b42b3041
14 changed files with 380 additions and 38 deletions

12
dependencies.py Normal file
View File

@@ -0,0 +1,12 @@
from __future__ import annotations
from collections.abc import Generator
from services.unit_of_work import UnitOfWork
def get_unit_of_work() -> Generator[UnitOfWork, None, None]:
"""FastAPI dependency yielding a unit-of-work instance."""
with UnitOfWork() as uow:
yield uow