Generate a 2-tuple `(source_uri, srel)` for each of the relationships in the package.
(self)
| 33 | yield (s.partname, s.content_type, s.reltype, s.blob) |
| 34 | |
| 35 | def iter_srels(self): |
| 36 | """Generate a 2-tuple `(source_uri, srel)` for each of the relationships in the |
| 37 | package.""" |
| 38 | for srel in self._pkg_srels: |
| 39 | yield (PACKAGE_URI, srel) |
| 40 | for spart in self._sparts: |
| 41 | for srel in spart.srels: |
| 42 | yield (spart.partname, srel) |
| 43 | |
| 44 | @staticmethod |
| 45 | def _load_serialized_parts(phys_reader, pkg_srels, content_types): |
no outgoing calls