'read one page'

def read_tasks(self, type_id=0):

    page_size = self.page_size
    limit = self.limit
    if (limit and (limit < page_size)):
        page_size = limit
    first_page = self.read_task_page_info_by_page_index(type_id, 0, page_size)
    tasks = first_page['tasks']
    for (i, task) in enumerate(tasks):
        task['#'] = i
    return tasks
