from pydantic_settings import BaseSettings class Settings(BaseSettings): database_url: str secret_key: str access_token_expire_minutes: int = 480 algorithm: str = "HS256" # Out-of-band admin login (not a DB user). Both must be set to enable it. admin_username: str = "" admin_password: str = "" allowed_origins: str = "http://localhost" class Config: env_file = ".env" settings = Settings()