#NEWLINE# def _gen_classes( self , entities , child , child_id , entity_id , collection ) : #NEWLINE# #INDENT# 'Iterate over entities, returning objects for each' #NEWLINE# for entity in entities : #NEWLINE# #INDENT# e = self . _return_class ( entity , child , child_id , entity_id , collection ) #NEWLINE# ( yield e )