""" Google OAuth2 configuration loaded from .env file. """ from pathlib import Path from pydantic_settings import BaseSettings ENV_FILE = Path(__file__).parent.parent / ".env" class GoogleConfig(BaseSettings): google_client_id: str google_client_secret: str google_redirect_uri: str # e.g., https://artery.mcrn.ar/google/oauth/callback google_scopes: str = "https://www.googleapis.com/auth/spreadsheets.readonly https://www.googleapis.com/auth/drive.readonly" api_port: int = 8003 model_config = { "env_file": ENV_FILE, "env_file_encoding": "utf-8", } settings = GoogleConfig()