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

Method __init__

src/pptx/opc/package.py:289–296  ·  view source on GitHub ↗
(
        self, partname: PackURI, content_type: str, package: Package, blob: bytes | None = None
    )

Source from the content-addressed store, hash-verified

287 """
288
289 def __init__(
290 self, partname: PackURI, content_type: str, package: Package, blob: bytes | None = None
291 ):
292 # --- XmlPart subtypes, don't store a blob (the original XML) ---
293 self._partname = partname
294 self._content_type = content_type
295 self._package = package
296 self._blob = blob
297
298 @classmethod
299 def load(cls, partname: PackURI, content_type: str, package: Package, blob: bytes) -> Self:

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected