def __init__(self): '''@__init__ This constructor is responsible for defining class variables, as well as starting the redis client, in order to perform corresponding caching, and uncaching. ''' # class variables self.list_error = [] self.myRedis = Redis_Query() # start redis client try: self.myRedis.start_redis() except Exception, error: self.list_error.append(str(error))