Closed mojito317 closed 3 years ago
Still needs a changes entry https://github.com/cloudant/python-cloudant/pull/501#pullrequestreview-676251324
but otherwise I'm ok with this
Still needs a changes entry #501 (review)
but otherwise I'm ok with this
Right, I added it in ab304b2.
Thanks for the review @emlaver and @ricellis! I'm on it to merge this.
Checklist
CHANGES.md
) or test/build only changesDescription
Fixes https://github.com/cloudant/python-cloudant/issues/221#issuecomment-752424499
Approach
Used custom encoder at
_py_to_couch_translate
forendkey
,key
, andstartkey
parameters.Schema & API Changes
endkey
,key
andstartkey
parameters will be encoded with the custom encoder.Security and Privacy
Testing
Test that all_docs uses the custom encoder. Fixed
test_valid_endkey
,test_valid_key
andtest_valid_startkey
with long type.Monitoring and Logging