This upgrades to the pydantic rewritten version 2, meaning all API changes are now carrying over to machinable's Config models. Notably, there is no automatic transformation of dataclasses to pydantic models; users need to pick between unstructured dict, dataclass or pydantic.BaseModel to declare Configs depending on their needs.
This upgrades to the pydantic rewritten version 2, meaning all API changes are now carrying over to machinable's Config models. Notably, there is no automatic transformation of dataclasses to pydantic models; users need to pick between unstructured
dict
,dataclass
orpydantic.BaseModel
to declareConfig
s depending on their needs.