def parse_types_set(self, parent: TypeCollection, element):
    'parse types/set'
    attributes = self.parse_common_attributes(element, attributes=SET_ATTRIBUTES_LIST)
    sbe_set = createSet(**attributes)
    parent.addType(sbe_set)
    for child_element in element.findall('choice'):
        choice = self.parse_set_choice(sbe_set=sbe_set, element=child_element)
        sbe_set.addChoice(choice)
parse types/set
def parse_types_set(self, parent: TypeCollection, element):
    
    attributes = self.parse_common_attributes(element, attributes=SET_ATTRIBUTES_LIST)
    sbe_set = createSet(**attributes)
    parent.addType(sbe_set)
    for child_element in element.findall('choice'):
        choice = self.parse_set_choice(sbe_set=sbe_set, element=child_element)
        sbe_set.addChoice(choice)