@@ -29,7 +29,8 @@ def strict_datetime_validator(value: Any) -> str:
2929
3030 raise PydanticCustomError (
3131 "datetime_type" ,
32- "Input should be a valid datetime in RFC 3339 format, input is not a string" ,
32+ "Input should be a valid datetime in RFC 3339 format, input is not a "
33+ "string" ,
3334 {"error" : "input not string" },
3435 )
3536
@@ -62,7 +63,8 @@ def strict_date_validator(value: Any) -> str:
6263
6364 raise PydanticCustomError (
6465 "date_type" ,
65- "Input should be a valid date in RFC3339 'full-date' format, input is not a string" ,
66+ "Input should be a valid date in RFC 3339 'full-date' format, input is not "
67+ "a string" ,
6668 {"error" : "input not string" },
6769 )
6870
@@ -71,7 +73,7 @@ def strict_date_validator(value: Any) -> str:
7173 # days there is in a month to the normal date class.
7274 raise PydanticCustomError (
7375 "date_from_datetime_parsing" ,
74- "Input should be a valid date, in RFC3339 'full-date' format" ,
76+ "Input should be a valid date, in RFC 3339 'full-date' format" ,
7577 {"error" : "input is not of form YYYY-MM-DD" },
7678 )
7779
0 commit comments