MCPcopy Create free account
hub / github.com/scanny/python-pptx / address

Method address

src/pptx/text/text.py:436–443  ·  view source on GitHub ↗

The URL of the hyperlink. Read/write. URL can be on http, https, mailto, or file scheme; others may work.

(self)

Source from the content-addressed store, hash-verified

434
435 @property
436 def address(self) -> str | None:
437 """The URL of the hyperlink.
438
439 Read/write. URL can be on http, https, mailto, or file scheme; others may work.
440 """
441 if self._hlinkClick is None:
442 return None
443 return self.part.target_ref(self._hlinkClick.rId)
444
445 @address.setter
446 def address(self, url: str | None):

Callers

nothing calls this directly

Calls 3

_remove_hlinkClickMethod · 0.95
_add_hlinkClickMethod · 0.95
target_refMethod · 0.45

Tested by

no test coverage detected