<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def task_pivot(self, task_resource):
 """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). """

        resource = self.copy()
        resource._request_uri = '{}/{}'.format(task_resource.request_uri, resource._request_uri)
        return resource