code: async def claimWork(self, *args, **kwargs):
          
  
          return await self._makeApiCall(self.funcinfo["claimWork"], *args, **kwargs)
docs: Claim Work
  
          Claim pending task(s) for the given `provisionerId`/`workerType` queue.
  
          If any work is available (even if fewer than the requested number of
          tasks, this will return immediately. Otherwise, it will block for tens of
          seconds waiting for work.  If no work appears, it will return an emtpy
          list of tasks.  Callers should sleep a short while (to avoid denial of
          service in an error condition) and call the endpoint again.  This is a
          simple implementation of "long polling".
  
          This method takes input: ``v1/claim-work-request.json#``
  
          This method gives output: ``v1/claim-work-response.json#``
  
          This method is ``stable``