Skip to content

Commit

Permalink
Fixup cfc9099: still missed one occurrence of a mapping in the
Browse files Browse the repository at this point in the history
conditions argument
  • Loading branch information
RKrahl committed Aug 29, 2024
1 parent 587718a commit 5ed6692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/examples/querytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@

print("\nThe warning can be suppressed by making the condition explicit.")
q = Query(client, "Rule", order=['grouping', 'what', 'id'],
conditions={"grouping":"IS NOT NULL"})
conditions=[("grouping", "IS NOT NULL")])
print(str(q))
print("%d result(s)" % len(client.search(q)))

Expand Down

0 comments on commit 5ed6692

Please sign in to comment.