edutap.wallet_google.models.bases.Model#

pydantic model edutap.wallet_google.models.bases.Model#

Base Model for all Google Wallet Models.

Sets a model_config for all Google Wallet Models that enforce that all attributes must be explicitly modeled, and trying to set an unknown attribute would raise an Exception. This Follows the Zen of Python (PEP 20) –> Explicit is better than implicit.

Show JSON schema
{
   "title": "Model",
   "description": "Base Model for all Google Wallet Models.\n\nSets a model_config for all Google Wallet Models that enforce that all attributes must be explicitly modeled, and trying to set an unknown attribute would raise an Exception.\nThis Follows the Zen of Python (PEP 20) --> Explicit is better than implicit.",
   "type": "object",
   "properties": {},
   "additionalProperties": false
}

Config:
  • extra: str = forbid