civisanalytics / civis-python

Civis API Python Client
BSD 3-Clause "New" or "Revised" License
34 stars 26 forks source link

[CIVIS-5287] FIX `find` should handle boolean kwargs like other data types #474

Closed jacksonlee-civis closed 6 months ago

jacksonlee-civis commented 6 months ago

This pull request fixes civis.find for its unintuitive behavior with boolean kwarg filters. As suggested in #227, boolean kwargs are now treated the same way as kwargs of other data types, for value comparison instead of presence or absence of an attribute.

Resolves #227.