redish icon indicating copy to clipboard operation
redish copied to clipboard

No support for authorization (password)

Open andrew-azarov opened this issue 14 years ago • 1 comments

Need the module to handle the password authorization to redis.

andrew-azarov avatar Jan 14 '11 18:01 andrew-azarov

Here's a simple fix to this issue:

def __init__(self, host=None, port=None, db=None, 
        serializer=None,password=""):             
    self.host = host or self.host                 
    self.port = port or self.port                 
    self.serializer = serializer or self.serializer
    self.db = db or self.db
    self.api = _RedisClient(self.host, self.port, self.db, password)  

andrew-azarov avatar Jan 14 '11 18:01 andrew-azarov