youknowone / ring

Python cache interface with clean API and built-in memcache & redis + asyncio support.
http://ring-cache.readthedocs.io/en/latest/
Other
478 stars 37 forks source link

Can`t aioredis Cache #186

Closed chado13 closed 2 years ago

chado13 commented 2 years ago

i`m using python 3.7 aioredis 1.3.1

i used ring.aioredis to myfunction for data cache like this, @ring.aioredis(redis_connection, expire=2)

but i got typeerror

image

why occure this problem? i wonder how to solve this

youknowone commented 2 years ago

is this solved? I think aioredis 1 and aioredis 2 have different api