material-demo/models/base.py

11 lines
312 B
Python

from pydantic import BaseSettings as PydanticBaseSettings
class BaseSettings(PydanticBaseSettings):
"""Add configuration to default Pydantic BaseSettings."""
class Config:
"""Configure BaseSettings behavior."""
extra = "forbid"
use_enum_values = True
env_prefix = "jv_"