Merge remote-tracking branch 'origin/dev' into feat/moteur-regles-recommandations

This commit is contained in:
Johan LEROY
2026-09-21 09:40:46 +02:00
14 changed files with 1200 additions and 10 deletions
+6 -1
View File
@@ -180,7 +180,12 @@ SiteServiceDep = Annotated[SiteService, Depends(get_site_service)]
def get_alert_service(session: SessionDep) -> AlertService:
return AlertService(alerts=AlertRepository(session))
return AlertService(
alerts=AlertRepository(session),
readings=ReadingRepository(session),
predictions=PredictionRepository(session),
sites=SiteRepository(session),
)
AlertServiceDep = Annotated[AlertService, Depends(get_alert_service)]