Skip to content

Commit

Permalink
Replace aioredis with redis' built-in asyncio support (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
Natureshadow authored Feb 21, 2023
1 parent d2dbe73 commit 32a3bc5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pydbantic/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pickle import dumps, loads
import asyncio

import aioredis
from redis import asyncio as aioredis


class Redis:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SQLAlchemy==1.4.28
databases==0.6.0
aioredis==2.0.0
redis>=4.2.0
pydantic>=1.9.1
asyncpg==0.24.0
aiosqlite==0.17.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
BASE_REQUIREMENTS = [
'SQLAlchemy==1.4.28',
'databases==0.5.3',
'aioredis==2.0.0',
'redis>=4.2.0',
'pydantic>=1.9.1',
'alembic==1.8.1'
]
Expand Down

0 comments on commit 32a3bc5

Please sign in to comment.