#NEWLINE# def update( self , factories_dct ) : #NEWLINE# #INDENT# dependent_factories = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( key , value ) in factories_dct . iteritems ( ) : #NEWLINE# #INDENT# if issubclass ( type ( value ) , DependentField ) : #NEWLINE# #INDENT# dependent_factories [ self ] = value #NEWLINE# continue #NEWLINE# #UNINDENT# if issubclass ( type ( value ) , Factory ) : #NEWLINE# #INDENT# self . _tree [ 0 ] [ key ] = value #NEWLINE# #UNINDENT# #UNINDENT# self . _build_dependency_tree ( dependent_factories )