Support decode_responses in initialization / create_redis_cluster
theblazehen opened this issue · 2 comments
theblazehen commented
Passing in a decode_responses=True
into the create_redis_cluster initializer would be convenient. This would call a .decode('utf-8')
or similar on all results before returning them
It's currently implemented in both redis-py and aioredis
DriverX commented
aioredis_cluster
supports encoding
argument in client factories create_redis_cluster
and create_cluster
from aioredis_cluster import create_redis_cluster
redis = await create_redis_cluster(
[
...
],
encoding="utf-8",
)
theblazehen commented
Ah, I see. Thanks!