feat : initial commit
HealthSync Intelligence CI / build-and-push (push) Has been cancelled

This commit is contained in:
hyerimmy
2025-06-20 05:28:30 +00:00
commit 910bd902b1
72 changed files with 6758 additions and 0 deletions
View File
+16
View File
@@ -0,0 +1,16 @@
"""
HealthSync AI 공통 의존성 관리
"""
from fastapi import Depends, HTTPException, status, Query
from app.config.settings import settings, Settings
import logging
logger = logging.getLogger(__name__)
def get_settings() -> Settings:
"""설정 의존성 주입"""
return settings
def get_current_user_id(user_id: int = Query(..., gt=0, description="사용자 ID")) -> int:
"""현재 사용자 ID 추출"""
return user_id