-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
Description
redis-py/redis/_parsers/encoders.py
Line 4 in ddff7b5
class Encoder: |
Feature request: Make Encoder configurable to allow users customize the transformation of keys and values.
- namespacing (key prefix)
- different encode/decode algorithm
- encode/decode user-defined types, like dict or numpy.ndarray
class MyEncoder(Encoder):
...
client = Redis(host=..., encoder=MyEncoder())