<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_parent(self, task_id, params={}, **options):
 """Changes the parent of a task. Each task may only be a subtask of a single parent, or no parent task at all. Returns an empty data block. Parameters task : {Id} Globally unique identifier for the task. [data] : {Object} Data for the request - parent : {Id} The new parent of the task, or `null` for no parent. """

        path = '/tasks/%s/setParent' % (task_id)
        return self.client.post(path, params, **options)