@@ -45,7 +45,7 @@ class CatalogType(str, Enum):
45
45
46
46
See:
47
47
:stac-spec:`The best practices documentation on self-contained catalogs
48
- <best-practices.md#self-contained-catalogs>`
48
+ <best-practices.md#self-contained-catalogs>`
49
49
"""
50
50
51
51
ABSOLUTE_PUBLISHED = "ABSOLUTE_PUBLISHED"
@@ -55,7 +55,7 @@ class CatalogType(str, Enum):
55
55
56
56
See:
57
57
:stac-spec:`The best practices documentation on published catalogs
58
- <best-practices.md#published-catalogs>`
58
+ <best-practices.md#published-catalogs>`
59
59
"""
60
60
61
61
RELATIVE_PUBLISHED = "RELATIVE_PUBLISHED"
@@ -65,7 +65,7 @@ class CatalogType(str, Enum):
65
65
66
66
See:
67
67
:stac-spec:`The best practices documentation on published catalogs
68
- <best-practices.md#published-catalogs>`
68
+ <best-practices.md#published-catalogs>`
69
69
"""
70
70
71
71
@classmethod
@@ -181,13 +181,11 @@ def __repr__(self) -> str:
181
181
return "<Catalog id={}>" .format (self .id )
182
182
183
183
def set_root (self , root : Optional ["Catalog" ]) -> None :
184
- super () .set_root (root )
184
+ STACObject .set_root (self , root )
185
185
if root is not None :
186
186
root ._resolved_objects = ResolvedObjectCache .merge (
187
187
root ._resolved_objects , self ._resolved_objects
188
188
)
189
- if root ._stac_io is not None :
190
- self ._stac_io = root ._stac_io
191
189
192
190
def is_relative (self ) -> bool :
193
191
return self .catalog_type in [
0 commit comments