예제 #1
0
파일: app.py 프로젝트: pedro2555/authapi
def get_redis():
    redis = StrictRedis()
    redis.connection_pool = ConnectionPool.from_url(app.config['REDIS_URL'])
    return redis