This repository was archived by the owner on Jun 21, 2025. It is now read-only.
This repository was archived by the owner on Jun 21, 2025. It is now read-only.
aioredis has been migrated into redis-py and effectively discontinued. #215
Closed
Description
There are asyncio handling issues in aioredis (e.g. using get_event_loop instead of get_running_loop), which are causing issues to pydantic-aioredis when working with async and sync processess.
Here is the description : issue 1273
As I understood from mainterners of aioredis, they have migrated the code into redis-py, which is maintained by RedisLabs, founders of Redis.
I've verified and the async redis client is already in the latest version of redis-py and I get a feeling that aioredis is discontinued.
From my quick assessment, it would be a fairly limited change in the store.py module to move to redis-py or to support externally assigned redis_store in the init.
Apologies again, I would be happy to propose a PR but just don't know how.