mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +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 pandas as pd
|
||||
from linkml.generators.pydanticgen.template import Import, Imports, ObjectImport
|
||||
from numpydantic import NDArray, Shape
|
||||
import pandas as pd
|
||||
from pydantic import (
|
||||
BaseModel,
|
||||
ConfigDict,
|
||||
|
@ -236,7 +236,7 @@ class DynamicTableMixin(BaseModel):
|
|||
return model
|
||||
|
||||
@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
|
||||
before we resolve targets for VectorData and VectorIndex pairs.
|
||||
|
|
Loading…
Reference in a new issue