Source code for pystac.link

from copy import (copy, deepcopy)

from pystac import STACError
from pystac.stac_io import STAC_IO
from pystac.utils import (make_absolute_href, make_relative_href, is_absolute_href)


[docs]class LinkType: """Enumerates link types; used to determine if a link is absolute or relative.""" ABSOLUTE = 'ABSOLUTE' RELATIVE = 'RELATIVE'