MCPcopy Create free account
hub / github.com/scanny/python-pptx / __init__

Method __init__

src/pptx/oxml/xmlchemy.py:137–139  ·  view source on GitHub ↗
(self, attr_name: str, simple_type: type[AttributeType])

Source from the content-addressed store, hash-verified

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 """

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected