Spaces:
Sleeping
Sleeping
| from pydantic_settings import BaseSettings | |
| from typing import Optional | |
| class Settings(BaseSettings): | |
| DATABASE_URL: str = "postgresql+asyncpg://user:password@localhost/mytodo_db" | |
| SECRET_KEY: str = "your-secret-key-must-be-changed-in-production" | |
| ALGORITHM: str = "HS256" | |
| ACCESS_TOKEN_EXPIRE_MINUTES: int = 30 | |
| GEMINI_API_KEY: Optional[str] = None | |
| class Config: | |
| env_file = ".env" | |
| extra = "ignore" | |
| settings = Settings() | |