from redis import Redis

class RedisClient(object):

    redis_client = Redis()
    
    def init_app(self, app):
        redis_client = Redis(host=app.config['REDIS_HOST'], port=app.config['REDIS_PORT'], db=0, password=<PASSWORD>, socket_timeout=None)
from redis import Redis

class RedisClient(object):

    redis_client = Redis()
    
    def init_app(self, app):
        redis_client = Redis(host=app.config['REDIS_HOST'], port=app.config['REDIS_PORT'], db=0, password=<PASSWORD>, socket_timeout=None)