#NEWLINE# @ status . setter #NEWLINE# def status( self , status ) : #NEWLINE# #INDENT# if ( status in [ self . STATUSES . ONLINE , self . STATUSES . OFFLINE ] ) : #NEWLINE# #INDENT# self . _status = status #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise TypeError ( 'Provided status should be a Pipeline.STATUSES' )