hyerimmy 910bd902b1
Some checks failed
HealthSync Intelligence CI / build-and-push (push) Has been cancelled
feat : initial commit
2025-06-20 05:28:30 +00:00

16 lines
444 B
Python

"""
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