Closed
Description
Version:
redis-py: 4.0.2
Redis server: 6.2.3 (enterprise)
Platform:
3.8.10, Ubuntu 20
Description:
According to the docs and the latest redis CLI, LMOVE and BLMOVE must return the value of the key that is being moved.
To repro:
> lmove x x LEFT RIGHT
"abc"
> blmove x x LEFT RIGHT 1
"abc"
However, these return bool on redis-py:
>>> r.lmove('x', 'x')
True
>>> r.blmove('x', 'x', timeout=1)
True
I believe these were erroneously added in RESPONSE_CALLBACKS
in #1504 and the fix is to remove this.
@chayim Please let me know if I'm correct and I can create a PR as well.
Metadata
Metadata
Assignees
Labels
No labels