Commit c1dc050
committed
PYCBC-1681: Raise InvalidArgumentException when base64 vector string is empty
Motivation
==========
Base64 vector strings cannot be empty. The RFC requires us to throw an InvalidArgumentException.
Change
======
If an empty base64 vector string is given, fail with an InvalidArgumentException.
Results
=======
Relevant FIT test passes (VectorSearchBase64Test.base64QueryWithEmptyBase64StringThrowInvalidArgument)
Change-Id: I479bb87b4b326a0c59631816dcc043d25e409b18
Reviewed-on: https://review.couchbase.org/c/couchbase-python-client/+/225921
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jared Casey <jared.casey@couchbase.com>1 parent ddad424 commit c1dc050
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
Submodule couchbase-cxx-client updated from c60cf3c to eb5fc76
0 commit comments