Return an |OpcPackage| instance loaded with the contents of `pkg_file`.
(cls, pkg_file: str | IO[bytes])
| 78 | |
| 79 | @classmethod |
| 80 | def open(cls, pkg_file: str | IO[bytes]) -> Self: |
| 81 | """Return an |OpcPackage| instance loaded with the contents of `pkg_file`.""" |
| 82 | return cls(pkg_file)._load() |
| 83 | |
| 84 | def drop_rel(self, rId: str) -> None: |
| 85 | """Remove relationship identified by `rId`.""" |