pssecret-server/pssecret/redis_db.py

6 lines
186 B
Python

# noinspection PyUnresolvedReferences,PyProtectedMember
from redis import asyncio as aioredis
from pssecret.settings import settings
redis = aioredis.from_url(str(settings.redis_url))