Repository navigation
Reduce dimension in testing to simplify output - #384
Merged
Merged
Conversation
jhamon
marked this pull request as ready for review
August 14, 2024 22:19
NishchayMahor
pushed a commit
to NishchayMahor/python-sdk-1
that referenced
this pull request
Sep 22, 2026
…inecone-io#384) (pinecone-io#464) Cuts server-enforced limit values, internal check-ordering explanations, an exhaustive language enumeration, a verbatim server-message quote, and a stale OAS/spec-sha citation from Indexes.create/create_for_model/configure (sync + async, byte-identical), per the evergreen-over-exhaustive docstring rule. Keeps every SDK-enforced bound (name/field-name length, tag caps) and rewrites the "Raises X because Y" spots to describe consequence, not mechanism. docs/how-to/indexes/backups-and-restore.md gets the matching treatment, plus two factual corrections discovered while editing the same paragraphs: the guide claimed limit is sent alongside a pagination token (backups and restore-jobs listings) when backups_helpers.py has always omitted it (the pinecone-io#324 rule pinecone-io#364 already fixed in the docstrings), and it exposed the opaque pagination token's internal base64url/JSON shape. Updates tests/unit/test_docs_migration_db_control_334.py's three tests that pinned the removed docstring prose to pin the corrected text instead.
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
Some tests were being run with large dimensions. This leads to log output that is slow to load and difficult to read when things go wrong in CI.
Solution
Reduce the test dimension.
Type of Change