code: def get_task_quota(self, task_name):
          
          params = OrderedDict([('instancequota', ''), ('taskname', task_name)])
          resp = self._client.get(self.resource(), params=params)
          return json.loads(resp.text)
docs: Get queueing info of the task.
          Note that time between two calls should larger than 30 seconds, otherwise empty dict is returned.
  
          :param task_name: name of the task
          :return: quota info in dict format