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 update bug #293

Merged
merged 3 commits into from
Apr 5, 2023
Merged

Fix update bug #293

merged 3 commits into from
Apr 5, 2023

Conversation

HammadB
Copy link
Collaborator

@HammadB HammadB commented Apr 5, 2023

Description of changes

A bug was introduced in #245. Here we changed from passing uuids into the index to ids, which leads to breakage. This is a bugfix that fixes the functionality by passing in uuids, along with a test.

Test plan

A new test was added that

  • Adds a record
  • Updates it
  • Queries for it to check if it was valid

Documentation Changes

None required

@HammadB HammadB requested review from atroyn and levand April 5, 2023 02:26
chromadb/test/test_api.py Outdated Show resolved Hide resolved
Copy link
Contributor

@levand levand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me after addressing @atroyn's feedback about a more comprehensive test.

Sorry for the bug 😞

@HammadB HammadB merged commit 85fe406 into main Apr 5, 2023
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