Repository navigation
Update generated client code #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +0,0 @@ | ||
|
|
||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,65 @@ | ||
| # coding: utf-8 | ||
|
|
||
| # flake8: noqa | ||
|
|
||
| """ | ||
| Pinecone API | ||
|
|
||
| No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 | ||
| No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) | ||
|
|
||
| The version of the OpenAPI document: version not set | ||
| Contact: support@pinecone.io | ||
| Generated by: https://openapi-generator.tech | ||
| """ | ||
| Generated by OpenAPI Generator (https://openapi-generator.tech) | ||
|
|
||
| Do not edit the class manually. | ||
| """ # noqa: E501 | ||
|
|
||
|
|
||
| __version__ = "1.0.0" | ||
|
|
||
| # import apis into sdk package | ||
| from pinecone.core.client.api.index_operations_api import IndexOperationsApi | ||
| from pinecone.core.client.api.vector_operations_api import VectorOperationsApi | ||
|
|
||
| # import ApiClient | ||
| from pinecone.core.client.api_response import ApiResponse | ||
| from pinecone.core.client.api_client import ApiClient | ||
|
|
||
| # import Configuration | ||
| from pinecone.core.client.configuration import Configuration | ||
|
|
||
| # import exceptions | ||
| from pinecone.core.client.exceptions import OpenApiException | ||
| from pinecone.core.client.exceptions import ApiAttributeError | ||
| from pinecone.core.client.exceptions import ApiTypeError | ||
| from pinecone.core.client.exceptions import ApiValueError | ||
| from pinecone.core.client.exceptions import ApiKeyError | ||
| from pinecone.core.client.exceptions import ApiAttributeError | ||
| from pinecone.core.client.exceptions import ApiException | ||
|
|
||
| # import models into sdk package | ||
| from pinecone.core.client.models.approximated_config import ApproximatedConfig | ||
| from pinecone.core.client.models.collection_meta import CollectionMeta | ||
| from pinecone.core.client.models.create_collection_request import CreateCollectionRequest | ||
| from pinecone.core.client.models.create_request import CreateRequest | ||
| from pinecone.core.client.models.create_request_index_config import CreateRequestIndexConfig | ||
| from pinecone.core.client.models.delete_request import DeleteRequest | ||
| from pinecone.core.client.models.describe_index_stats_request import DescribeIndexStatsRequest | ||
| from pinecone.core.client.models.describe_index_stats_response import DescribeIndexStatsResponse | ||
| from pinecone.core.client.models.fetch_response import FetchResponse | ||
| from pinecone.core.client.models.hnsw_config import HnswConfig | ||
| from pinecone.core.client.models.index_meta import IndexMeta | ||
| from pinecone.core.client.models.index_meta_database import IndexMetaDatabase | ||
| from pinecone.core.client.models.index_meta_database_index_config import IndexMetaDatabaseIndexConfig | ||
| from pinecone.core.client.models.index_meta_status import IndexMetaStatus | ||
| from pinecone.core.client.models.list_indexes200_response import ListIndexes200Response | ||
| from pinecone.core.client.models.namespace_summary import NamespaceSummary | ||
| from pinecone.core.client.models.patch_request import PatchRequest | ||
| from pinecone.core.client.models.protobuf_any import ProtobufAny | ||
| from pinecone.core.client.models.protobuf_null_value import ProtobufNullValue | ||
| from pinecone.core.client.models.query_request import QueryRequest | ||
| from pinecone.core.client.models.query_response import QueryResponse | ||
| from pinecone.core.client.models.query_vector import QueryVector | ||
| from pinecone.core.client.models.rpc_status import RpcStatus | ||
| from pinecone.core.client.models.scored_vector import ScoredVector | ||
| from pinecone.core.client.models.single_query_results import SingleQueryResults | ||
| from pinecone.core.client.models.sparse_values import SparseValues | ||
| from pinecone.core.client.models.update_request import UpdateRequest | ||
| from pinecone.core.client.models.upsert_request import UpsertRequest | ||
| from pinecone.core.client.models.upsert_response import UpsertResponse | ||
| from pinecone.core.client.models.vector import Vector |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| # do not import all apis into this module because that uses a lot of memory and stack frames | ||
| # if you need the ability to import all apis from one package, import them with | ||
| # from pinecone.core.client.apis import IndexOperationsApi | ||
| # flake8: noqa | ||
|
|
||
| # import apis into api package | ||
| from pinecone.core.client.api.index_operations_api import IndexOperationsApi | ||
| from pinecone.core.client.api.vector_operations_api import VectorOperationsApi |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: Thanks for pulling these out. I had stripped them out of the docs as well because they're all internal and I don't think we expect external users to have access to these.