fix(sdk): removing deprecating param from our sdk and docs changes with it (#4740)

This commit is contained in:
Kartik
2026-04-12 00:34:58 +05:30
committed by GitHub
parent 3882af7450
commit e44b46ef2e
138 changed files with 1186 additions and 2840 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ def test_insert_vectors(pinecone_db):
def test_search_vectors(pinecone_db):
pinecone_db.index.query.return_value.matches = [{"id": "id1", "score": 0.9, "metadata": {"name": "vector1"}}]
results = pinecone_db.search("test query", [0.1] * 128, limit=1)
results = pinecone_db.search("test query", [0.1] * 128, top_k=1)
pinecone_db.index.query.assert_called_with(
vector=[0.1] * 128,
top_k=1,