pssecret-server/pssecret/redis_db.py

7 lines
181 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(settings.redis.url)