Closed theblazehen closed 2 years ago
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",
)
Ah, I see. Thanks!
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 themIt's currently implemented in both redis-py and aioredis