Repository navigation
2024-07 rc - #354
Closed
gdj0nes wants to merge 22 commits into
Closed
2024-07 rc#354gdj0nes wants to merge 22 commits into
gdj0nes wants to merge 22 commits into
Conversation
added 2 commits
June 12, 2024 20:27
gdj0nes
marked this pull request as draft
June 13, 2024 01:37
aulorbe
reviewed
Jun 13, 2024
| ``` | ||
| """ | ||
| if name == '' and host == '': | ||
| if name == "" and host == "": |
There was a problem hiding this comment.
Building off of @ssmith-pc's wisdom, plz remove linting changes from your PRs :)
Contributor
Author
There was a problem hiding this comment.
We should be running black on all commits to avoid this issue.
added 12 commits
June 20, 2024 11:53
## Problem PRs often include formatting changes that makes it difficult to identify changes in functionality ## Solution - Format all code with `black` - Introduce linting `black` linting workflow ## Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update - [ ] Infrastructure change (CI configs, etc) - [ ] Non-code change (docs, etc) - [x] None of the above: (explain here)
# Conflicts: # poetry.lock
added 2 commits
June 20, 2024 12:27
Collaborator
|
I'm going to take over this workstream, but I think it will be easiest to start from a fresh branch so I will close this one. |
NishchayMahor
pushed a commit
to NishchayMahor/python-sdk-1
that referenced
this pull request
Sep 22, 2026
…t-loop group is fixture-side and already gone (pinecone-io#354) Re-ran the integration suite on the merged 2026-07 tip (506 of 535 ran, 94%). Zero occurrences of "Event loop is closed" — the group named in pinecone-io#313 does not reproduce. Attribution is fixture-side, not SDK: - The SDK has no __del__, weakref.finalize, atexit hook or event-loop construction anywhere under pinecone/, so it cannot touch a loop after the loop is gone. AsyncPinecone.close(), AsyncHTTPClient.close(), AsyncAssistants.close() and AsyncIndex.close() are all plain awaits. - The trigger was pytest-asyncio closing the loop before running async fixture teardown, which makes the `await pc.close()` in the `async_client` fixture raise. That was fixed by moving integration tests to pytest.mark.anyio (bd07408); tests/integration now carries no asyncio marks at all. Adds two guards so it cannot come back silently, and fixes the three assertion failures the current run does have — all three stale expectations about server behaviour, verified against pinecone-db @ cbee5a67fe: - test_indexes_2026_07 / test_async_indexes_2026_07 bare-string: a bare {"type": "string"} fails deserialization with 422 because filterable is a required bool on MetadataSchemaField, so it never reaches the validation that emits the "fields used for search" 400. Now asserts both rejections, which are each other's positive control. - test_backups_2026_07: BackupModel.schema carries the source index's legacy metadata_config, which a schema-based index does not have, so the server returns "schema": null. Verified on the wire.
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.
Release Candidate (RC) branch client version
5.0.0using x-pinecone-api-version 2024-07.This PR will get merged into
mainwhen we releasepinecone-client==5.0.0(July 15), which is promoted to our2024-07spec - @aulorbeChanges
inference.embed