rendercv.data.models.base
¶
The rendercv.data.models.base
module contains the parent classes of all the data
models in RenderCV.
RenderCVBaseModelWithoutExtraKeys
¶
Bases: BaseModel
This class is the parent class of the data models that do not allow extra keys.
It has only one difference from the default pydantic.BaseModel
: It raises an error
if an unknown key is provided in the input file.
Source code in rendercv/data/models/base.py
RenderCVBaseModelWithExtraKeys
¶
Bases: BaseModel
This class is the parent class of the data models that allow extra keys. It has
only one difference from the default pydantic.BaseModel
: It allows extra keys in
the input file.