load _Relationships for this part from `xml_rels`. Part references are resolved using the `parts` dict that maps each partname to the loaded part with that partname. These relationships are loaded from a serialized package and so already have assigned rIds. This method is on
(self, xml_rels: CT_Relationships, parts: dict[PackURI, Part])
| 328 | return self._content_type |
| 329 | |
| 330 | def load_rels_from_xml(self, xml_rels: CT_Relationships, parts: dict[PackURI, Part]) -> None: |
| 331 | """load _Relationships for this part from `xml_rels`. |
| 332 | |
| 333 | Part references are resolved using the `parts` dict that maps each partname to the loaded |
| 334 | part with that partname. These relationships are loaded from a serialized package and so |
| 335 | already have assigned rIds. This method is only used during package loading. |
| 336 | """ |
| 337 | self._rels.load_from_xml(self._partname.baseURI, xml_rels, parts) |
| 338 | |
| 339 | @lazyproperty |
| 340 | def package(self) -> Package: |