Remove relationship identified by `rId` if its reference count is under 2. Relationships with a reference count of 0 are implicit relationships. Note that only XML parts can drop relationships.
(self, rId: str)
| 407 | # -- XmlPart cannot set its blob, which is why pyright complains -- |
| 408 | |
| 409 | def drop_rel(self, rId: str) -> None: |
| 410 | """Remove relationship identified by `rId` if its reference count is under 2. |
| 411 | |
| 412 | Relationships with a reference count of 0 are implicit relationships. Note that only XML |
| 413 | parts can drop relationships. |
| 414 | """ |
| 415 | if self._rel_ref_count(rId) < 2: |
| 416 | self._rels.pop(rId) |
| 417 | |
| 418 | @property |
| 419 | def part(self): |