def __init__(self,connstr=None,host=None,user=None,passwd=None,db=None,port=None): DbModel.__init__(self,connstr,host,user,passwd,db,port)
def __init__(self,connstr=None,host=None,user=None,passwd=None,db=None,port=None): DbModel.__init__(self,connstr,host,user,passwd,db,port) # {'host': 'localhost','port': 6379, 'db': 0} connection_setup(host=self.host,port=self.port,db=self.db)