str reference to relationship target. For internal relationships this is the relative partname, suitable for serialization purposes. For an external relationship it is typically a URL.
(self)
| 750 | |
| 751 | @lazyproperty |
| 752 | def target_ref(self) -> str: |
| 753 | """str reference to relationship target. |
| 754 | |
| 755 | For internal relationships this is the relative partname, suitable for serialization |
| 756 | purposes. For an external relationship it is typically a URL. |
| 757 | """ |
| 758 | if self.is_external: |
| 759 | assert isinstance(self._target, str) |
| 760 | return self._target |
| 761 | |
| 762 | return self.target_partname.relative_ref(self._base_uri) |