Skip to content

Commit 41453a8

Browse files
committed
schema_json
1 parent 41f7205 commit 41453a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/models-library/tests/test_sidecar_volumes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ def test_volume_state_equality_does_not_use_last_changed(status: VolumeStatus):
1313
# NOTE: `last_changed` is initialized with the utc datetime
1414
# at the moment of the creation of the object.
1515
assert VolumeState(status=status) == VolumeState(status=status)
16-
schema_property_count = len(VolumeState.schema()["properties"])
16+
schema_property_count = len(VolumeState.model_json_schema()["properties"])
1717
assert len(VolumeState(status=status).model_dump()) == schema_property_count

0 commit comments

Comments
 (0)