code: def execute(self, resource, **kw):
          
          params = kw.pop('params', {})
          json = kw.pop('json', None)
          task = self.make_request(
              TaskRunFailed,
              method='create',
              params=params,
              json=json,
              resource=resource)
  
          timeout = kw.pop('timeout', 5)
          wait_for_finish = kw.pop('wait_for_finish', True)
          
          return TaskOperationPoller(
              task=task, timeout=timeout,
              wait_for_finish=wait_for_finish,
              **kw)
docs: Execute the task and return a TaskOperationPoller.
          
          :rtype: TaskOperationPoller