(self,host,port,db)
Constructor
Constructor
Constructor
def __init__(self,host,port,db):
        '''
        Constructor
        '''
        self.host=host
        self.port=port
        self.db=db
        self.pool=redis.ConnectionPool(host=host,port=port,db=db)
def __init__ ( self , host , port , db ) : self . host = host self . port = port self . db = db self . pool = redis . ConnectionPool ( host = host , port = port , db = db )