diff --git a/rendercv/data_models.py b/rendercv/data_models.py index 860fcb5..55ad8d0 100644 --- a/rendercv/data_models.py +++ b/rendercv/data_models.py @@ -748,7 +748,7 @@ class CurriculumVitae(RenderCVBaseModel): alias="sections", ) - @pydantic.field_validator("sections_input") + @pydantic.field_validator("sections_input", mode="before") @classmethod def validate_sections( cls,