#NEWLINE# def __setattr__( self , key , value ) : #NEWLINE# #INDENT# if ( self . _should_error is True ) : #NEWLINE# #INDENT# raise ValidationError ( message = { #NEWLINE# #INDENT# key : 'Cannot set attribute' , #NEWLINE# #UNINDENT# } , code = 'invalid' ) #NEWLINE# #UNINDENT# super ( StrictAssignmentFieldSpecific , self ) . __setattr__ ( key , value )