code: def task_pivot(self, task_resource):
          
          resource = self.copy()
          resource._request_uri = '{}/{}'.format(task_resource.request_uri, resource._request_uri)
          return resource
docs: Pivot point on Tasks for this resource.
  
          This method will return all *resources* (group, indicators, victims,
          etc) for this resource that are associated with the provided task id.
  
          **Example Endpoints URI's**
  
          +--------------+-------------------------------------------------------------+
          | HTTP Method  | API Endpoint URI's                                          |
          +==============+=============================================================+
          | GET          | /v2/tasks/{resourceId}/groups/{resourceType}                |
          +--------------+-------------------------------------------------------------+
          | GET          | /v2/tasks/{resourceId}/groups/{resourceType}/{uniqueId}     |
          +--------------+-------------------------------------------------------------+
          | GET          | /v2/tasks/{resourceId}/indicators/{resourceType}            |
          +--------------+-------------------------------------------------------------+
          | GET          | /v2/tasks/{resourceId}/indicators/{resourceType}/{uniqueId} |
          +--------------+-------------------------------------------------------------+
  
          Args:
              resource_id (integer): The resource pivot id (task id).