PIbd-42_SSPR/settings.py

14 lines
296 B
Python

from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
DATABASE: str
POSTGRES_USER: str
POSTGRES_PASSWORD: str
CLICKHOUSE_USER: str
CLICKHOUSE_PASSWORD: str
model_config = SettingsConfigDict(env_file=".env")
settings = Settings()