11 lines
307 B
Python
11 lines
307 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
class Settings(BaseSettings):
|
|
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", case_sensitive=False, extra="ignore")
|
|
|
|
MONGODB_URI: str
|
|
MONGODB_DB_NAME: str
|
|
REDIS_URL: str
|
|
|
|
|
|
settings = Settings() |