#NEWLINE# def __set__( self , instance , value ) : #NEWLINE# #INDENT# if ( self . choices and ( value not in self . choices ) ) : #NEWLINE# #INDENT# raise DevopsError ( '{}: Value not in choices list' . format ( self . param_key ) ) #NEWLINE# #UNINDENT# instance . params [ self . param_key ] = value