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 index.fetch() bug #120

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Fix index.fetch() bug #120

merged 2 commits into from
Feb 16, 2024

Conversation

tylerhutcherson
Copy link
Collaborator

index.fetch() was accidentally hardcoded to always pull data from hash, even if the schema declared JSON for data storage. Updated the method to use the Storage class for handling the get operation and updated the tests.

@tylerhutcherson tylerhutcherson added the bug Something isn't working label Feb 16, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 16, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (bcb27dd) 80.65% compared to head (58f2b67) 82.48%.

Files Patch % Lines
redisvl/index/index.py 80.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
+ Coverage   80.65%   82.48%   +1.83%     
==========================================
  Files          25       25              
  Lines        1473     1479       +6     
==========================================
+ Hits         1188     1220      +32     
+ Misses        285      259      -26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tylerhutcherson tylerhutcherson merged commit c06a787 into main Feb 16, 2024
18 checks passed
@tylerhutcherson tylerhutcherson deleted the fix-fetch-bug branch February 16, 2024 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants