one last model generation

This commit is contained in:
sneakers-the-rat 2024-09-26 01:59:45 -07:00
parent dfb2f3701b
commit 8c76ce82c3
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
191 changed files with 191 additions and 191 deletions

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -58,7 +58,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -74,7 +74,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -77,7 +77,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -80,7 +80,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -77,7 +77,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -69,7 +69,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -186,7 +186,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -58,7 +58,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -74,7 +74,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -77,7 +77,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -80,7 +80,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -77,7 +77,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -69,7 +69,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -186,7 +186,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -58,7 +58,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -74,7 +74,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -77,7 +77,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -80,7 +80,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -77,7 +77,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -189,7 +189,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -58,7 +58,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -74,7 +74,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -78,7 +78,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -80,7 +80,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -83,7 +83,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -196,7 +196,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -58,7 +58,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -74,7 +74,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -78,7 +78,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -80,7 +80,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -83,7 +83,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -196,7 +196,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -60,7 +60,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -58,7 +58,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -74,7 +74,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -78,7 +78,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -80,7 +80,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -60,7 +60,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -83,7 +83,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -213,7 +213,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -73,7 +73,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -58,7 +58,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -74,7 +74,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -86,7 +86,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -83,7 +83,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -60,7 +60,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -83,7 +83,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -59,7 +59,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -226,7 +226,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -84,7 +84,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -65,7 +65,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -58,7 +58,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -74,7 +74,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -87,7 +87,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -83,7 +83,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -66,7 +66,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

View file

@ -76,7 +76,7 @@ class ConfiguredBaseModel(BaseModel):
@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:

Some files were not shown because too many files have changed in this diff Show more