You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> import redis
>>> p = redis.ConnectionPool()
>>> r = redis.StrictRedis(connection_pool=p, decode_responses=True)
>>> r.set('key', 'value')
True
>>> r.get('key')
b'value' # should be just value (unicode instead of bytes)
I am aware that the problem arises from ConnectionPool passing its' own arguments to Connection, which is why some would say it is desired behaviour. On the other hand I don't understand why the parser is created per Connection, not per client - wouldn't it actually solve the issue?