regenerate models

This commit is contained in:
sneakers-the-rat 2024-09-26 01:49:29 -07:00
parent a6ab1cf61b
commit 58affeb5db
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
13 changed files with 13 additions and 13 deletions

View file

@ -386,7 +386,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -677,7 +677,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -677,7 +677,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -677,7 +677,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column

View file

@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
return handler(val)
except ValidationError as e:
annotation = cls.model_fields[info.field_name].annotation
if type(annotation).__name__ == "_UnionGenericAlias":
while hasattr(annotation, "__args__"):
annotation = annotation.__args__[0]
try:
# should pass if we're supposed to be a VectorData column