code: def get_items_from_response(self, response):
          
          for item in response.get('items', []):
              id = item.get('id')
              task = Task(id, taskqueue=self.taskqueue)
              task._set_properties(item)
              yield task
docs: Yield :class:`.taskqueue.task.Task` items from response.
  
          :type response: dict
          :param response: The JSON API response for a page of tasks.