mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-10 14:14:27 +00:00
lint
This commit is contained in:
parent
54c18e333e
commit
c09b633cda
1 changed files with 2 additions and 2 deletions
|
@ -16,9 +16,9 @@ from typing import (
|
||||||
)
|
)
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
import pandas as pd
|
||||||
from linkml.generators.pydanticgen.template import Import, Imports, ObjectImport
|
from linkml.generators.pydanticgen.template import Import, Imports, ObjectImport
|
||||||
from numpydantic import NDArray, Shape
|
from numpydantic import NDArray, Shape
|
||||||
import pandas as pd
|
|
||||||
from pydantic import (
|
from pydantic import (
|
||||||
BaseModel,
|
BaseModel,
|
||||||
ConfigDict,
|
ConfigDict,
|
||||||
|
@ -236,7 +236,7 @@ class DynamicTableMixin(BaseModel):
|
||||||
return model
|
return model
|
||||||
|
|
||||||
@model_validator(mode="after")
|
@model_validator(mode="after")
|
||||||
def cast_extra_columns(self):
|
def cast_extra_columns(self) -> "DynamicTableMixin":
|
||||||
"""
|
"""
|
||||||
If extra columns are passed as just lists or arrays, cast to VectorData
|
If extra columns are passed as just lists or arrays, cast to VectorData
|
||||||
before we resolve targets for VectorData and VectorIndex pairs.
|
before we resolve targets for VectorData and VectorIndex pairs.
|
||||||
|
|
Loading…
Reference in a new issue