Skip to content

Commit

Permalink
regenerate models
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Sep 26, 2024
1 parent a6ab1cf commit 58affeb
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion nwb_linkml/src/nwb_linkml/includes/hdmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def cast_specified_columns(
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
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ def cast_specified_columns(
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
Expand Down

0 comments on commit 58affeb

Please sign in to comment.