def take_ownership(self, project_id):
        cmd = {
            'type': 'take_ownership',
            'uuid': self.generate_uuid(),
            'args': {
                'project_id': project_id,
            },
        }
        self.queue.append(cmd)

    # Auxiliary
Appends a request to the queue, take ownership of a shared project.
dataset/ETHPy150Open Doist/todoist-python/todoist/api.py/TodoistAPI.take_ownership