You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# Other library imports
|
|
from redis import StrictRedis
|
|
|
|
# Project imports
|
|
from settings import settings
|
|
|
|
# Define the Redis endpoint to the socket
|
|
r = StrictRedis(unix_socket_path=settings.DB.RedisSocket, db=int(settings.DB.DB))
|