Skip to content

Commit

Permalink
Passing error mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Sep 9, 2024
1 parent b7a34cc commit 4854347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pinecone/data/features/bulk_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def start_import(
Examples:
>>> from pinecone import Pinecone
>>> index = Pinecone().Index('my-index')
>>> index.start_import("s3://bucket-name/path/to/data.parquet")
>>> index.start_import(uri="s3://bucket-name/path/to/data.parquet")
{ id: "1" }
Args:
Expand All @@ -81,7 +81,7 @@ def start_import(
[
("uri", uri),
("integration", integration),
("error_mode", ImportErrorModeClass(error_mode=error_mode)),
("error_mode", ImportErrorModeClass(on_error=error_mode)),
]
)
return self.__import_operations_api.start_import(StartImportRequest(**args_dict))
Expand Down

0 comments on commit 4854347

Please sign in to comment.