Fix new services implementation 7

This commit is contained in:
Urtzi Alfaro
2025-08-15 22:40:19 +02:00
parent 277b1332cb
commit 399ba80067
15 changed files with 433 additions and 534 deletions

View File

@@ -97,8 +97,11 @@ async def health_check():
"""Health check endpoint"""
try:
# Test database connection
with db_manager.get_session() as db:
db = db_manager.get_session()
try:
db.execute("SELECT 1")
finally:
db.close()
return {
"status": "healthy",

View File

@@ -13,6 +13,7 @@ alembic==1.12.1
# Data validation
pydantic==2.5.0
pydantic-settings==2.0.3
email-validator==2.1.0
# HTTP requests