pssecret-server/pssecret/redis_db.py

7 lines
186 B
Python
Raw Normal View History

2022-12-17 08:53:50 +00:00
# noinspection PyUnresolvedReferences,PyProtectedMember
from redis import asyncio as aioredis
from pssecret.settings import settings
2022-12-17 08:53:50 +00:00
redis = aioredis.from_url(str(settings.redis_url))