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
PYCBC-1930: Raise on an option value the getter cannot interpret
Changes
--------
* Raise InvalidArgumentException from the six request-option getters
that handled None and str and then fell off the end, returning None
from a signature declaring a non-optional enum: consistency, order and
on_error on the view query, consistency and profile on the query, and
consistency on the search builder
* Raise from ViewScanConsistency.from_str, which returned None for any
string it did not recognise, matching QueryStatus.from_str
* Add tests to the view, query and search param suites driving an
uninterpretable value in through set_option, which does no
verification, and reading the property back
Change-Id: I1f8b6138b8d1e7dc6ee449d953381290ca1d58b1
Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/252044
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Build Bot <build@couchbase.com>
0 commit comments