#NEWLINE# @ classmethod #NEWLINE# def mark_skipped( cls , tasks , ids_not_to_skip ) : #NEWLINE# #INDENT# 'Change tasks type which ids not present in ids_not_to_skip to skipped\n\n        :param tasks: the list of deployment tasks to execute\n        :param ids_not_to_skip: the list of task ids that will be not skipped\n        ' #NEWLINE# task_ids = set ( ids_not_to_skip ) #NEWLINE# for task in tasks : #NEWLINE# #INDENT# if ( task [ 'id' ] not in task_ids ) : #NEWLINE# #INDENT# task = task . copy ( ) #NEWLINE# task [ 'type' ] = consts . ORCHESTRATOR_TASK_TYPES . skipped #NEWLINE# #UNINDENT# ( yield tasks )