def __init__(self, status, msg, json_result=None): ResultInfo.__init__(self, status, msg, json_result=None) if status == Constants.RETURN_SUCCESS: self.logs = json_result["result"]["items"]
def __init__(self, status, msg, json_result=None): ResultInfo.__init__(self, status, msg, json_result) if self.status == Constants.RETURN_SUCCESS: self.__init_suggest()