models.base¶
Shared base model for all otto pydantic boundary specs.
- class otto.models.base.OttoModel¶
Bases:
BaseModelBase for every otto boundary model.
extra='forbid'turns a typo’d or unknown config field into a validation error that names the offending key (instead of silently dropping it, as the old hand-rolled merge did).Descendants that read historical data are the sanctioned exception: the lenient
*Recordspec variants inotto.models.monitoroverrideextrato'ignore'so older otto builds can read exports written by newer ones.