We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 495bf2b commit 4e46270Copy full SHA for 4e46270
pystac/catalog.py
@@ -148,6 +148,9 @@ def set_root(self, root):
148
root._resolved_objects = ResolvedObjectCache.merge(root._resolved_objects,
149
self._resolved_objects)
150
151
+ def is_relative(self):
152
+ return self.catalog_type in [CatalogType.RELATIVE_PUBLISHED, CatalogType.SELF_CONTAINED]
153
+
154
def add_child(self, child, title=None):
155
"""Adds a link to a child :class:`~pystac.Catalog` or :class:`~pystac.Collection`.
156
This method will set the child's parent to this object, and its root to
0 commit comments