'Return a ThriftTaskInProgressList'

def get_task_list(self, jobid, task_types, task_states, task_text, count, offset):

    ttask_types = [ThriftTaskType._NAMES_TO_VALUES[x.upper()] for x in task_types]
    ttask_states = [ThriftTaskQueryState._NAMES_TO_VALUES[x.upper()] for x in task_states]
    tip_list = self.client.getTaskList(self.thread_local.request_context, jobid, ttask_types, ttask_states, task_text, count, offset)
    for tip in tip_list.tasks:
        self._fixup_task_in_progress(tip)
    return tip_list
