Skip to content

Commit d1aa7ec

Browse files
committed
Fix offline grids validation
1 parent 2abdd21 commit d1aa7ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simvue/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class GridMetricSet(pydantic.BaseModel):
9696
time: pydantic.NonNegativeFloat | pydantic.NonNegativeInt
9797
timestamp: typing.Annotated[str | None, pydantic.BeforeValidator(simvue_timestamp)]
9898
step: pydantic.NonNegativeInt
99-
array: list[float] | numpy.ndarray
99+
array: list[float] | list[list[float]] | numpy.ndarray
100100
grid: str
101101
metric: str
102102

0 commit comments

Comments
 (0)