Repository navigation
Conversation
This fixes the issue of the Data API not using the proxy that is configured via the openapi_config
mcpaddy
marked this pull request as draft
February 29, 2024 00:13
Author
|
There is an issue with how the API keys are checked when using openapi_config. This should be fixed in a different PR. |
Collaborator
|
Thanks for getting the ball rolling, but I'm going to close this since I covered both issues with tests in #321 |
NishchayMahor
pushed a commit
to NishchayMahor/python-sdk-1
that referenced
this pull request
Sep 22, 2026
…the three confirmed backend defects (pinecone-io#318) `docs/how-to/indexes/backups-and-restore.md` taught `for job in pc.restore_jobs.list():` as the way to "List all restore jobs", but `list` returns a single page and `RestoreJobList` holds its `pagination` token without following it. Same mistake was present on the three `pc.backups.list` examples on that page. All four now drive the token. Adds caller-facing caveats to sync and async `list`/`describe` docstrings for the three defects confirmed on pinecone-io#250: post-filter `next_page` truncating and duplicating list pages, `describe` flattening every store failure to 404 (so a 404 cannot be trusted to mean "no such job"), and a deleted target index producing an index-metadata-flavoured 404 on describe / silent omission on list. Documentation only — claims 1 and 3 end the token stream itself and are not compensable client-side. Also aligns the sync `describe` Raises block onto `PineconeValueError`, which is what `require_non_empty` raises and what the async twin already documented. Closes pinecone-io#310
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
The Data API does not use the proxy set in the openapi_config in
Pinecone()Solution
It passes the
openapi_configdown toIndex()Type of Change
Test Plan
Spin up a proxy
Execute the following script