AmadeusITGroup / RedisCache

Python function decorator to cache the result in a Redis server.
Other
6 stars 2 forks source link

[Feature request] AsyncIO interface #11

Open PaleNeutron opened 3 weeks ago

PaleNeutron commented 3 weeks ago

Hello, I found this package's refresh design is very impressive and graceful. But my current project is based on async functions.

Can you provide an interface using redis.asyncio.Redis backend?

pcart-grandjean commented 2 weeks ago

Hello, This is an interesting suggestion. I will work on it for sure. But I have limited time available. Could you help and provide the most simplistic code to test the new interface as requested? Ideally you would provide unit tests in a pure TDD approach. But a simple python module would be good already. Cheers, Pierre