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

Class CT_Override

src/pptx/opc/oxml.py:78–89  ·  view source on GitHub ↗

` ` element. Specifies the content type to be applied for a part with the specified partname.

Source from the content-addressed store, hash-verified

76
77
78class CT_Override(BaseOxmlElement):
79 """`<Override>` element.
80
81 Specifies the content type to be applied for a part with the specified partname.
82 """
83
84 partName: str = RequiredAttribute( # pyright: ignore[reportAssignmentType]
85 "PartName", XsdAnyUri
86 )
87 contentType: str = RequiredAttribute( # pyright: ignore[reportAssignmentType]
88 "ContentType", ST_ContentType
89 )
90
91
92class CT_Relationship(BaseOxmlElement):

Callers

nothing calls this directly

Calls 1

RequiredAttributeClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…