@classmethod
    def mark_skipped(cls, tasks, ids_not_to_skip):
        task_ids = set(ids_not_to_skip)

        for task in tasks:
            if task['id'] not in task_ids:
                task = task.copy()
                task['type'] = consts.ORCHESTRATOR_TASK_TYPES.skipped

            yield task
Change tasks type which ids not present in ids_not_to_skip to skipped
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/task/task.py/ClusterTransaction.mark_skipped