MCPcopy Index your code
hub / github.com/python-openxml/python-docx / load

Method load

src/docx/opc/part.py:85–86  ·  view source on GitHub ↗
(cls, partname: PackURI, content_type: str, blob: bytes, package: Package)

Source from the content-addressed store, hash-verified

83
84 @classmethod
85 def load(cls, partname: PackURI, content_type: str, blob: bytes, package: Package):
86 return cls(partname, content_type, blob, package)
87
88 def load_rel(self, reltype: str, target: Part | str, rId: str, is_external: bool = False):
89 """Return newly added |_Relationship| instance of `reltype`.

Callers 4

__new__Method · 0.45
dimensions_fixtureMethod · 0.45

Calls

no outgoing calls