You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
The expected outcome would be that the view get filtered by the boolean type key instead of raising the error
I removed the validation locally and reinitiated the view query, and the key filtered fine from the CouchDB library end i.e. their library accepted a boolean type for the key argument
3. What actually happened
A CloudantArgumentError was raised when trying to filter by a boolean value for the argument key
Environment details
Python 3.9.2
Database server: IBM Cloudant
The text was updated successfully, but these errors were encountered:
Bug Description
1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
Create a cloudant database view, and attempt to query the view using the python-cloudant library as follows:
The above code will raise a CloudantArgumentError due to the validation on this line
python-cloudant/src/cloudant/_common_util.py
Line 192 in 3378146
2. What you expected to happen
The expected outcome would be that the view get filtered by the boolean type key instead of raising the error
I removed the validation locally and reinitiated the view query, and the key filtered fine from the CouchDB library end i.e. their library accepted a boolean type for the key argument
3. What actually happened
A CloudantArgumentError was raised when trying to filter by a boolean value for the argument key
Environment details
Python 3.9.2
Database server: IBM Cloudant
The text was updated successfully, but these errors were encountered: