We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22a1775 commit ef738feCopy full SHA for ef738fe
simvue/models.py
@@ -95,7 +95,7 @@ class GridMetricSet(pydantic.BaseModel):
95
model_config = pydantic.ConfigDict(
96
arbitrary_types_allowed=True, extra="forbid", validate_default=True
97
)
98
- time: pydantic.NonNegativeFloat | pydantic.NonNegativeInt
+ time: float | int
99
timestamp: typing.Annotated[str | None, pydantic.BeforeValidator(simvue_timestamp)]
100
step: pydantic.NonNegativeInt
101
array: list[float] | list[list[float]] | numpy.ndarray
0 commit comments