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 zadd syntax and add support for dealing with partially corrupted datasets #65

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chrisb09
Copy link

zadd

The zadd call was using an incorrect variable scheme. Reference
For redis-py 4.4 the existing function parameters were invalid, I suspect this was changed at some point in the past.

recommendation

Assuming my presumption is correct, it should be possible to prevent such problems caused by API changes from arising in the future by specifying the version (or version range) of the redis-py (redis) dependency.

corrupted data

I was dealing with an old legacy dataset which had null entries for types and values, with these changes such entries are ignored instead of causing an error.

@kortov
Copy link

kortov commented Mar 14, 2023

thanks for your fork, it helped

@chrisb09
Copy link
Author

no problem. glad i could help.

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.

2 participants