#NEWLINE# def _unpack_schema_additions( self , items ) : #NEWLINE# #INDENT# ' Unpack additions, since they may themselves be schemas. ' #NEWLINE# unpacked_items = [ ] #NEWLINE# for item in items : #NEWLINE# #INDENT# if isinstance ( item , SchemaAddition ) : #NEWLINE# #INDENT# unpacked_items . append ( item . factory ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# unpacked_items . append ( item ) #NEWLINE# #UNINDENT# #UNINDENT# return unpacked_items