| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| DATABASE_URL: str | |
| GOOGLE_API_KEY: str | |
| CELERY_BROKER_URL: str = "redis://localhost:6379/0" | |
| CELERY_RESULT_BACKEND: str = "redis://localhost:6379/0" | |
| model_config = SettingsConfigDict(env_file=".env", env_file_encoding='utf-8', extra='ignore') | |
| settings = Settings() |