def get(self): parser = reqparse.RequestParser() parser.add_argument('jobId', required=True) parser.add_argument('userName', required=True) args = parser.parse_args() jobId = args["jobId"] userName = args["userName"] return JobRestAPIUtils.GetJobLog(userName, jobId)
def get(self): args = self.get_parser.parse_args() jobId = args["jobId"] userName = args["userName"] cursor = args["cursor"] return JobRestAPIUtils.GetJobLog(userName, jobId, cursor)