We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using a tuple as a key, redis will use the string form of the tuple. Fakeredis returns the key as the original tuple.
Example: import redis/fakeredis import time client = redis.StrictRedis() client.zadd('test_set', time.time(), (1, 2, 3)) result = client.zrange('test_set', 0, 0)
result returns tuple in array [(1, 2, 3)] in fakeredis, but string in array ['(1, 2, 3)'] in Redis
The text was updated successfully, but these errors were encountered:
Should be fixed via 5cd4b18
Sorry, something went wrong.
No branches or pull requests
When using a tuple as a key, redis will use the string form of the tuple. Fakeredis returns the key as the original tuple.
Example:
import redis/fakeredis
import time
client = redis.StrictRedis()
client.zadd('test_set', time.time(), (1, 2, 3))
result = client.zrange('test_set', 0, 0)
result returns tuple in array [(1, 2, 3)] in fakeredis, but string in array ['(1, 2, 3)'] in Redis
The text was updated successfully, but these errors were encountered: