#NEWLINE# @ classmethod #NEWLINE# def _clean_data( cls , data ) : #NEWLINE# #INDENT# result = copy . copy ( data ) #NEWLINE# if ( result . get ( 'status' ) not in consts . TASK_STATUSES ) : #NEWLINE# #INDENT# result . pop ( 'status' , None ) #NEWLINE# #UNINDENT# return result