redis-om-python/redis_developer/connections.py

6 lines
104 B
Python
Raw Normal View History

import redis
def get_redis_connection() -> redis.Redis:
return redis.Redis(decode_responses=True)