from pydantic_settings import BaseSettings, SettingsConfigDict import os class Settings(BaseSettings): MONGO_URL: str = os.environ.get("MONGO_URL", "FAKE") model_config = SettingsConfigDict(env_file=".env") settings = Settings()