valkey-io / valkey-py

Valkey Python client based on a fork of redis-py
MIT License
68 stars 9 forks source link

Add alias for asyncio module too #121

Open jules-ch opened 1 week ago

jules-ch commented 1 week ago

It'd be nice to have Redis, StrictRedis etc ... aliases for the asyncio module too.

>>> import valkey.asyncio as redis
>>> redis.Redis
AttributeError: module 'valkey.asyncio' has no attribute 'Redis'
aiven-sal commented 1 week ago

I agree, thank you for pointing it out