mirror of
https://github.com/rendercv/rendercv.git
synced 2026-10-04 11:26:45 -04:00
validate sections before
This commit is contained in:
1 parent
303da319ec
commit
e83107fa6e
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user