Skip to content

Commit

Permalink
Regenerate to pull in collection update
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Jul 18, 2024
1 parent 6b26b2d commit 08bbac2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion codegen/apis
Submodule apis updated from 3e5739 to e9b47c
1 change: 0 additions & 1 deletion pinecone/control/pinecone.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,6 @@ def describe_collection(self, name: str):
print(description.source)
print(description.status)
print(description.size)
print(description.)
```
"""
api_instance = self.index_api
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/control/api/manage_indexes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, api_client=None):
def __configure_index(self, index_name, configure_index_request, **kwargs):
"""Configure an index # noqa: E501
This operation configures the pod size and number of replicas for a pod-based index. It is not possible to change the pod type of an index. However, you can create a collection from an index and then [create a new index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. # noqa: E501
This operation configures an existing index. For serverless indexes, you can configure only index deletion protection. For pod-based indexes, you can configure the pod size, number of replicas, and index deletion protection. It is not possible to change the pod type of a pod-based index. However, you can create a collection from a pod-based index and then [create a new pod-based index with a different pod type](http://docs.pinecone.io/guides/indexes/create-an-index#create-an-index-from-a-collection) from the collection. For guidance and examples, see [Configure an index](http://docs.pinecone.io/guides/indexes/configure-an-index). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/control/model/collection_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class CollectionModel(ModelNormal):

validations = {
("dimension",): {
"inclusive_maximum": 2000,
"inclusive_maximum": 20000,
"inclusive_minimum": 1,
},
}
Expand Down
8 changes: 4 additions & 4 deletions pinecone/core/openapi/control/model/deletion_protection.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ def __init__(self, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.
Args:
args[0] (str): Whether delete protection is enabled/disabled for the resource. . if omitted defaults to "disabled", must be one of ["disabled", "enabled", ] # noqa: E501
args[0] (str): Whether [deletion protection](http://docs.pinecone.io/guides/indexes/prevent-index-deletion) is enabled/disabled for the index. . if omitted defaults to "disabled", must be one of ["disabled", "enabled", ] # noqa: E501
Keyword Args:
value (str): Whether delete protection is enabled/disabled for the resource. . if omitted defaults to "disabled", must be one of ["disabled", "enabled", ] # noqa: E501
value (str): Whether [deletion protection](http://docs.pinecone.io/guides/indexes/prevent-index-deletion) is enabled/disabled for the index. . if omitted defaults to "disabled", must be one of ["disabled", "enabled", ] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down Expand Up @@ -208,10 +208,10 @@ def _from_openapi_data(cls, *args, **kwargs):
Note that value can be passed either in args or in kwargs, but not in both.
Args:
args[0] (str): Whether delete protection is enabled/disabled for the resource. . if omitted defaults to "disabled", must be one of ["disabled", "enabled", ] # noqa: E501
args[0] (str): Whether [deletion protection](http://docs.pinecone.io/guides/indexes/prevent-index-deletion) is enabled/disabled for the index. . if omitted defaults to "disabled", must be one of ["disabled", "enabled", ] # noqa: E501
Keyword Args:
value (str): Whether delete protection is enabled/disabled for the resource. . if omitted defaults to "disabled", must be one of ["disabled", "enabled", ] # noqa: E501
value (str): Whether [deletion protection](http://docs.pinecone.io/guides/indexes/prevent-index-deletion) is enabled/disabled for the index. . if omitted defaults to "disabled", must be one of ["disabled", "enabled", ] # noqa: E501
_check_type (bool): if True, values for parameters in openapi_types
will be type checked and a TypeError will be
raised if the wrong type is input.
Expand Down

0 comments on commit 08bbac2

Please sign in to comment.