add more sections

This commit is contained in:
Sina Atalay 2023-11-17 01:04:29 +01:00 committed by Jeffrey Goldberg
parent 20561eca72
commit b4042f704e
1 changed files with 1 additions and 3 deletions

View File

@ -629,9 +629,7 @@ class Design(BaseModel):
LaTeXString = Annotated[str, AfterValidator(escape_latex_characters)]
PastDate = Annotated[
str,
Field(pattern=r"\d{4}-?(\d{2})?-?(\d{2})?"),
AfterValidator(parse_date_string),
str, Field(pattern=r"\d{4}-?(\d{2})?-?(\d{2})?"), AfterValidator(parse_date_string)
]