diff --git a/tests/parsing/test_where_filter_parsing.py b/tests/parsing/test_where_filter_parsing.py index 767647bf..b50838e0 100644 --- a/tests/parsing/test_where_filter_parsing.py +++ b/tests/parsing/test_where_filter_parsing.py @@ -81,7 +81,7 @@ def test_serialize_deserialize_operations() -> None: base_obj = ModelWithWhereFilter(where_filter=PydanticWhereFilter(where_sql_template=__BOOLEAN_EXPRESSION__)) serialized = base_obj.model_dump_json() - deserialized = ModelWithWhereFilter.parse_raw(serialized) + deserialized = ModelWithWhereFilter.model_validate_json(serialized) assert deserialized == base_obj