def _parse_target_dimensions(self, result):
        exclude = map(self.dictify_entity,
                      result.iterfind('exclude/entities/entity'))
        include = map(self.dictify_entity,
                      result.iterfind('include/entities/entity'))
        self.entity_count = 1
        self.entities = [{
            '_type': 'target_dimension',
            'exclude': exclude,
            'include': include,
        }]
Iterate over target dimensions and parse into dicts
dataset/ETHPy150Open MediaMath/t1-python/terminalone/xmlparser.py/XMLParser._parse_target_dimensions