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()