code: def get_task_statuses(self):
          
  
          params = {'taskstatus': ''}
  
          resp = self._client.get(self.resource(), params=params)
          self.parse(self._client, resp, obj=self)
  
          return dict([(task.name, task) for task in self._tasks])
docs: Get all tasks' statuses
  
          :return: a dict which key is the task name and value is the :class:`odps.models.Instance.Task` object
          :rtype: dict