Skip to content

Commit

Permalink
Adjust parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgerDav committed Nov 8, 2023
1 parent 655784e commit 9d68bb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deeplake/client/managed/managed_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def vectorstore_add(
def vectorstore_remove_rows(
self,
path: str,
indices: Optional[List[int]] = None,
row_ids: Optional[List[int]] = None,
ids: Optional[List[str]] = None,
filter: Optional[Dict[str, str]] = None,
query: Optional[str] = None,
Expand All @@ -157,7 +157,7 @@ def vectorstore_remove_rows(
relative_url=VECTORSTORE_REMOVE_ROWS_SUFFIX,
json={
"dataset": path,
"indices": indices,
"row_ids": row_ids,
"ids": ids,
"filter": filter,
"query": query,
Expand Down
2 changes: 1 addition & 1 deletion deeplake/core/vectorstore/managed_vectorstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def delete(

self.client.vectorstore_remove_rows(
path=self.path,
indices=row_ids,
row_ids=row_ids,
ids=ids,
filter=filter,
query=query,
Expand Down

0 comments on commit 9d68bb9

Please sign in to comment.