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 e047167 commit 0d7f25bCopy full SHA for 0d7f25b
tests/expressions/test_expressions.py
@@ -782,12 +782,12 @@ def test_not_null() -> None:
782
783
def test_serialize_is_null() -> None:
784
pred = IsNull(term="foo")
785
- assert pred.model_dump_json() == '{"type":"is-null","term":"foo"}'
+ assert pred.model_dump_json() == '{"term":"foo","type":"is-null"}'
786
787
788
def test_serialize_not_null() -> None:
789
pred = NotNull(term="foo")
790
- assert pred.model_dump_json() == '{"type":"not-null","term":"foo"}'
+ assert pred.model_dump_json() == '{"term":"foo","type":"not-null"}'
791
792
793
def test_bound_is_nan(accessor: Accessor) -> None:
0 commit comments