update models

This commit is contained in:
sneakers-the-rat 2024-07-29 18:19:34 -07:00
parent 19e49cf68d
commit f08216a43f
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
41 changed files with 50 additions and 46 deletions

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -7,7 +7,6 @@ import sys
import numpy as np
from ...core.v2_2_0.core_nwb_image import GrayscaleImage
from ...core.v2_2_0.core_nwb_base import NWBData, NWBDataInterface
from numpydantic import NDArray, Shape
from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar
from pydantic import (
BaseModel,
@ -18,6 +17,7 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.2.0"

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -7,7 +7,6 @@ import sys
import numpy as np
from ...core.v2_2_1.core_nwb_image import GrayscaleImage
from ...core.v2_2_1.core_nwb_base import NWBData, NWBDataInterface
from numpydantic import NDArray, Shape
from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar
from pydantic import (
BaseModel,
@ -18,6 +17,7 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.2.1"

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -15,9 +15,9 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorIndex, VectorData
from ...core.v2_2_2.core_nwb_base import TimeSeries
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.2.2"

View file

@ -17,13 +17,13 @@ from pydantic import (
BeforeValidator,
)
from ...core.v2_2_2.core_nwb_ecephys import ElectrodeGroup
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_1_3.hdmf_common_table import (
DynamicTable,
VectorData,
VectorIndex,
DynamicTableRegion,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.2.2"

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -15,9 +15,9 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorIndex, VectorData
from ...core.v2_2_4.core_nwb_base import TimeSeries
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.2.4"

View file

@ -17,13 +17,13 @@ from pydantic import (
BeforeValidator,
)
from ...core.v2_2_4.core_nwb_ecephys import ElectrodeGroup
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_1_3.hdmf_common_table import (
DynamicTable,
VectorData,
VectorIndex,
DynamicTableRegion,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.2.4"

View file

@ -15,13 +15,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_1_3.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorIndex,
VectorData,
)
from numpydantic import NDArray, Shape
from ...core.v2_2_4.core_nwb_image import ImageSeries, ImageSeriesExternalFile
from ...core.v2_2_4.core_nwb_base import (
TimeSeriesStartingTime,

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -15,9 +15,9 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorIndex, VectorData
from ...core.v2_2_5.core_nwb_base import TimeSeries
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.2.5"

View file

@ -17,13 +17,13 @@ from pydantic import (
BeforeValidator,
)
from ...core.v2_2_5.core_nwb_ecephys import ElectrodeGroup
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_1_3.hdmf_common_table import (
DynamicTable,
VectorData,
VectorIndex,
DynamicTableRegion,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.2.5"

View file

@ -15,13 +15,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_1_3.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorIndex,
VectorData,
)
from numpydantic import NDArray, Shape
from ...core.v2_2_5.core_nwb_image import ImageSeries, ImageSeriesExternalFile
from ...core.v2_2_5.core_nwb_base import (
TimeSeriesStartingTime,

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -15,9 +15,9 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData
from ...core.v2_3_0.core_nwb_base import TimeSeries
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.3.0"

View file

@ -17,13 +17,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorData,
VectorIndex,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.3.0"

View file

@ -15,13 +15,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorIndex,
VectorData,
)
from numpydantic import NDArray, Shape
from ...core.v2_3_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile
from ...core.v2_3_0.core_nwb_base import (
TimeSeriesStartingTime,

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -15,9 +15,9 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData
from ...core.v2_4_0.core_nwb_base import TimeSeries
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.4.0"

View file

@ -22,7 +22,6 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTable,
VectorIndex,
@ -30,6 +29,7 @@ from ...hdmf_common.v1_5_0.hdmf_common_table import (
AlignedDynamicTable,
DynamicTableRegion,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.4.0"

View file

@ -17,13 +17,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorData,
VectorIndex,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.4.0"

View file

@ -15,13 +15,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorIndex,
VectorData,
)
from numpydantic import NDArray, Shape
from ...core.v2_4_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile
from ...core.v2_4_0.core_nwb_base import (
TimeSeriesStartingTime,

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -22,7 +22,6 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTable,
VectorIndex,
@ -30,6 +29,7 @@ from ...hdmf_common.v1_5_0.hdmf_common_table import (
AlignedDynamicTable,
DynamicTableRegion,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.5.0"

View file

@ -17,13 +17,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorData,
VectorIndex,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.5.0"

View file

@ -15,13 +15,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorIndex,
VectorData,
)
from numpydantic import NDArray, Shape
from ...core.v2_5_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile
from ...core.v2_5_0.core_nwb_base import (
TimeSeriesStartingTime,

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -22,7 +22,6 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTable,
VectorIndex,
@ -30,6 +29,7 @@ from ...hdmf_common.v1_5_0.hdmf_common_table import (
AlignedDynamicTable,
DynamicTableRegion,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.6.0-alpha"

View file

@ -17,13 +17,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorData,
VectorIndex,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.6.0-alpha"

View file

@ -15,13 +15,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_5_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorIndex,
VectorData,
)
from numpydantic import NDArray, Shape
from ...core.v2_6_0_alpha.core_nwb_image import ImageSeries, ImageSeriesExternalFile
from ...core.v2_6_0_alpha.core_nwb_base import (
TimeSeriesStartingTime,

View file

@ -61,6 +61,8 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
ModelType = TypeVar("ModelType", bound=Type[BaseModel])
@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType,
Named = Annotated[ModelType, BeforeValidator(_get_name)]
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -22,7 +22,6 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_8_0.hdmf_common_table import (
DynamicTable,
VectorIndex,
@ -30,6 +29,7 @@ from ...hdmf_common.v1_8_0.hdmf_common_table import (
AlignedDynamicTable,
DynamicTableRegion,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.7.0"

View file

@ -17,13 +17,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_8_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorData,
VectorIndex,
)
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "2.7.0"

View file

@ -15,13 +15,13 @@ from pydantic import (
ValidationInfo,
BeforeValidator,
)
from numpydantic import NDArray, Shape
from ...hdmf_common.v1_8_0.hdmf_common_table import (
DynamicTableRegion,
DynamicTable,
VectorIndex,
VectorData,
)
from numpydantic import NDArray, Shape
from ...core.v2_7_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile
from ...core.v2_7_0.core_nwb_base import (
TimeSeriesStartingTime,

View file

@ -8,6 +8,7 @@ from typing import Any, ClassVar, List, Literal, Dict, Optional, Union
from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator
import numpy as np
from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "0.1.0"
@ -45,6 +46,7 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {

View file

@ -8,6 +8,7 @@ from typing import Any, ClassVar, List, Literal, Dict, Optional, Union
from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator
import numpy as np
from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData
from numpydantic import NDArray, Shape
metamodel_version = "None"
version = "0.5.0"
@ -45,6 +46,7 @@ class LinkMLMeta(RootModel):
return key in self.root
NUMPYDANTIC_VERSION = "1.2.1"
linkml_meta = LinkMLMeta(
{
"annotations": {