Skip to content

Commit 2bca68e

Browse files
2 parents aded365 + 246c3f1 commit 2bca68e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/momento/vector_index_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,8 @@ def delete_item_batch(self, index_name: str, filter: FilterExpression | list[str
201201
202202
Args:
203203
index_name (str): Name of the index to delete the items from.
204-
filter (FilterExpression | list[str]): A filter expression to filter
205-
items by ID. If a list of strings is provided, it is treated as a
206-
"IdInSet" filter expression.
204+
filter (FilterExpression | list[str]): A filter expression to match
205+
items to be deleted, or list of item IDs to be deleted.
207206
208207
Returns:
209208
DeleteItemBatchResponse: The result of a delete item batch operation.

src/momento/vector_index_client_async.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,8 @@ async def delete_item_batch(self, index_name: str, filter: FilterExpression | li
201201
202202
Args:
203203
index_name (str): Name of the index to delete the items from.
204-
filter (FilterExpression | list[str]): A filter expression to filter
205-
items by ID. If a list of strings is provided, it is treated as a
206-
"IdInSet" filter expression.
204+
filter (FilterExpression | list[str]): A filter expression to match
205+
items to be deleted, or list of item IDs to be deleted.
207206
208207
Returns:
209208
DeleteItemBatchResponse: The result of a delete item batch operation.

0 commit comments

Comments
 (0)