(self, attr_name: str, simple_type: type[AttributeType])
| 135 | """Base class for OptionalAttribute and RequiredAttribute, providing common methods.""" |
| 136 | |
| 137 | def __init__(self, attr_name: str, simple_type: type[AttributeType]): |
| 138 | self._attr_name = attr_name |
| 139 | self._simple_type = simple_type |
| 140 | |
| 141 | def populate_class_members(self, element_cls: Type[BaseOxmlElement], prop_name: str): |
| 142 | """ |