Skip to content
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

Fix: Handle None Namespace Case Properly #33

Merged
merged 3 commits into from
Oct 11, 2024
Merged

Fix: Handle None Namespace Case Properly #33

merged 3 commits into from
Oct 11, 2024

Conversation

fahreddinozcan
Copy link
Contributor

Currently, the below snippet upserts a vector to namespace None. We're now handling it to upsert to the default namespace.

index = Index.from_env()

vec = [1] * 1536

res = index.upsert(vectors=[{"id": "1", "vector": vec}], namespace=None)

Copy link

linear bot commented Oct 7, 2024

@CahidArda
Copy link
Collaborator

can we add a test?

@fahreddinozcan fahreddinozcan merged commit 4bb79df into master Oct 11, 2024
1 check passed
@mdumandag mdumandag deleted the DX-1331 branch January 7, 2025 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants