Skip to content
Prev Previous commit
Next Next commit
Better function description
Co-authored-by: Pete Gadomski <[email protected]>
  • Loading branch information
spinto and gadomski authored Dec 11, 2025
commit 2da6fae99502e7b1a84c9652a9f804af9359f321
3 changes: 1 addition & 2 deletions pystac/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,7 @@ def is_absolute_href(href: str, start_href: str | None = None) -> bool:
Args:
href : The HREF to consider.
start_href : The HREF that will be used as the basis for checking if
``source_href`` is a relative path. Defaults to the current
working directory.
``source_href`` is a relative path. Defaults to None.

Returns:
bool: ``True`` if the given HREF is absolute, ``False`` if it is relative.
Expand Down