Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions pinecone/control/pinecone.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,6 @@ def configure_index(self, name: str, replicas: Optional[int] = None, pod_type: O
configure_index_request = ConfigureIndexRequest(**config_args)
api_instance.configure_index(name, configure_index_request=configure_index_request)

def scale_index(self, name: str, replicas: int):
"""Change the number of replicas for the index. Replicas may be scaled up or down.

:param name: the name of the Index
:type name: str
:param replicas: the number of replicas in the index now, lowest value is 1.
:type replicas: int
"""
api_instance = self.index_api
api_instance.configure_index(name, patch_request=ConfigureIndexRequest(replicas=replicas, pod_type=""))

def create_collection(self, name: str, source: str):
"""Create a collection
:param name: Name of the collection
Expand Down