#NEWLINE# @ Disp . register ( [ Property ] ) #NEWLINE# def _validate_prop( self , path , obj , _ ) : #NEWLINE# #INDENT# ' validate option combination of Property object ' #NEWLINE# errs = [ ] #NEWLINE# if ( obj . type == 'void' ) : #NEWLINE# #INDENT# errs . append ( 'void is only allowed in Operation object.' ) #NEWLINE# #UNINDENT# return ( obj , obj . __class__ . __name__ , errs )