#NEWLINE# @ property #NEWLINE# def requiredAttributeQnames( self ) : #NEWLINE# #INDENT# '(set) -- Set of attribute QNames which have use=required.' #NEWLINE# try : #NEWLINE# #INDENT# return self . _requiredAttributeQnames #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# self . _requiredAttributeQnames = set ( ( a . qname for a in self . attributes . values ( ) if a . isRequired ) ) #NEWLINE# return self . _requiredAttributeQnames