mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-09 21:54:27 +00:00
regenerate models
This commit is contained in:
parent
a6ab1cf61b
commit
58affeb5db
13 changed files with 13 additions and 13 deletions
|
@ -386,7 +386,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -677,7 +677,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -677,7 +677,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -677,7 +677,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
|
@ -679,7 +679,7 @@ class DynamicTableMixin(ConfiguredBaseModel):
|
||||||
return handler(val)
|
return handler(val)
|
||||||
except ValidationError as e:
|
except ValidationError as e:
|
||||||
annotation = cls.model_fields[info.field_name].annotation
|
annotation = cls.model_fields[info.field_name].annotation
|
||||||
if type(annotation).__name__ == "_UnionGenericAlias":
|
while hasattr(annotation, "__args__"):
|
||||||
annotation = annotation.__args__[0]
|
annotation = annotation.__args__[0]
|
||||||
try:
|
try:
|
||||||
# should pass if we're supposed to be a VectorData column
|
# should pass if we're supposed to be a VectorData column
|
||||||
|
|
Loading…
Reference in a new issue