Skip to content

Commit 1be6359

Browse files
authored
Fix VectorSearchAPI query_index (#961)
## What changes are proposed in this pull request? A regression was introduced in v0.51 of the Python SDK affecting the `query_index()` method of the `VectorSearchAPI`, causing the query result to be dropped during deserialization. This PR fixes this by correcting the deserialization logic and the type of the API response. ## How is this tested? This matches the implementation from the last working version v0.50. --------- Signed-off-by: Miles Yucht <miles@databricks.com>
1 parent d0d7d5e commit 1be6359

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f20747a9e1b158ea126960dcb30ac66f53435f2d
1+
d4c86c045ee9d0410a41ef07e8ae708673b95fa1

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### New Features and Improvements
66

77
### Bug Fixes
8+
* Fixed the deserialization of responses in VectorSearchAPI's `query_index()` method ([#961](https://github.com/databricks/databricks-sdk-py/pull/961)).
89

910
### Documentation
1011

databricks/sdk/service/vectorsearch.py

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)