We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f7205 commit 41453a8Copy full SHA for 41453a8
packages/models-library/tests/test_sidecar_volumes.py
@@ -13,5 +13,5 @@ def test_volume_state_equality_does_not_use_last_changed(status: VolumeStatus):
13
# NOTE: `last_changed` is initialized with the utc datetime
14
# at the moment of the creation of the object.
15
assert VolumeState(status=status) == VolumeState(status=status)
16
- schema_property_count = len(VolumeState.schema()["properties"])
+ schema_property_count = len(VolumeState.model_json_schema()["properties"])
17
assert len(VolumeState(status=status).model_dump()) == schema_property_count
0 commit comments