You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pydantic v2 strict mode has been enabled everywhere, except for ValuesAxis.
When enabled the following test would fail:
> assert object_type.model_validate_json(json_string).model_dump_json(exclude_none=True) == json_string
E pydantic_core._pydantic_core.ValidationError: 4 validation errors for Axes
E t.values.0
E Input should be a valid datetime [type=datetime_type, input_value='2008-01-01T04:00:00Z', input_type=str]
E For further information visit https://errors.pydantic.dev/2.3/v/datetime_type
This seems to be an issue in the combination between Generics (ValuesT) and datetime and strict mode when converting between JSON <-> Pydantic. Needs further investigation.
The text was updated successfully, but these errors were encountered:
Pydantic v2 strict mode has been enabled everywhere, except for ValuesAxis.
When enabled the following test would fail:
This seems to be an issue in the combination between Generics (ValuesT) and datetime and strict mode when converting between JSON <-> Pydantic. Needs further investigation.
The text was updated successfully, but these errors were encountered: