#NEWLINE# def _parse_collection( self , result ) : #NEWLINE# #INDENT# 'Iterate over collection (i.e. "entities" tag) and parse into dicts' #NEWLINE# root = result . find ( 'entities' ) #NEWLINE# self . entity_count = int ( ( root . get ( 'count' ) or 0 ) ) #NEWLINE# self . entities = self . _parse_entities ( self )