codespell got me again!

This commit is contained in:
sneakers-the-rat 2024-09-26 01:50:25 -07:00
parent 58affeb5db
commit dfb2f3701b
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -34,7 +34,7 @@ BASEMODEL_CAST_WITH_VALUE = """
@field_validator("*", mode="wrap") @field_validator("*", mode="wrap")
@classmethod @classmethod
def cast_with_value(cls, v: Any, handler, info) -> Any: def cast_with_value(cls, v: Any, handler, info) -> Any:
\"\"\"Try to rescue instantiation by casting into the model's value fiel\"\"\" \"\"\"Try to rescue instantiation by casting into the model's value field\"\"\"
try: try:
return handler(v) return handler(v)
except Exception as e1: except Exception as e1: