feat(binding): use VectorViewClause zero-copy for Python dense vector query (#517)

This commit is contained in:
egolearner
2026-07-06 14:03:34 +08:00
committed by GitHub
parent 54340bb705
commit 998a711434
3 changed files with 117 additions and 118 deletions
+7 -1
View File
@@ -1147,7 +1147,13 @@ class _SearchQuery:
def __getstate__(self) -> tuple: ...
def __init__(self) -> None: ...
def __setstate__(self, arg0: tuple) -> None: ...
def set_vector(self, arg0: ..., arg1: typing.Any) -> None: ...
def set_vector(self, field_schema: typing.Any, obj: typing.Any) -> None:
"""
Set the query vector.
Dense vector source data must not be modified until the query finishes.
"""
@property
def output_fields(self) -> list[str] | None: ...
@output_fields.setter