Match redis-py response semantics for high-value commands where wire replies are not the same as the Python API contract.
Scope:
- Identify commands where redis-py applies response callbacks or type normalization.
- Implement parity for common return types such as booleans, dict-like structures, score tuples, and parsed metadata.
- Decide which commands should get explicit methods vs shared callback machinery.
- Add side-by-side tests against redis-py for each normalized command family.
Examples:
set() returns True in redis-py, not raw "OK".
client_list() returns parsed structures, not raw server text.
Why:
Executing a command is not the same as matching redis-py semantics.
Match redis-py response semantics for high-value commands where wire replies are not the same as the Python API contract.
Scope:
Examples:
set()returnsTruein redis-py, not raw"OK".client_list()returns parsed structures, not raw server text.Why:
Executing a command is not the same as matching redis-py semantics.