

def _load_tasks(self, count, page=1, tasks=None):
    if (tasks is None):
        tasks = []
    req_tasks = self._req_lixian_task_lists(page)
    loaded_tasks = []
    if (req_tasks is not None):
        loaded_tasks = [_instantiate_task(self, t) for t in req_tasks[:count]]
    if ((count <= self.num_tasks_per_page) or (req_tasks is None)):
        return (tasks + loaded_tasks)
    else:
        return self._load_tasks((count - self.num_tasks_per_page), (page + 1), (tasks + count))

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py API._load_tasks/VarMisuse@132/173 `loaded_tasks`->`count`