~cytrogen/evi-run

ref: 6b317f5a0b2a543bc9825f2ab1c23911c6935500 evi-run/redis_service/connect.py -rw-r--r-- 166 bytes
6b317f5a — Bendy Disable code formatting checks for the first release 6 months ago
                                                                                
1
2
3
4
5
6
7
8
import os

from dotenv import load_dotenv
from redis.asyncio.client import Redis

load_dotenv()

redis = Redis.from_url(os.getenv('REDIS_URL'), decode_responses=True)