Skip to content

Commit 206673a

Browse files
authored
Merge pull request #16 from xpublish-experiments/timeout-fix
STAC search use assets directly
2 parents 6dfeec3 + f68df03 commit 206673a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/catalog_to_xpublish/searchers/stac_search.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def _parse_assets(
107107
dataset_info_dicts: Dict[str, Dict[str, Any]],
108108
) -> None:
109109
"""Adds all assets to the list + dict of datasets."""
110-
for child_name, child in pystac_obj.get_assets().items():
110+
for child_name, child in pystac_obj.assets.items():
111111
# make sure the item type is supported
112112
url_path = child.get_absolute_href()
113113
if url_path.endswith('/'):

0 commit comments

Comments
 (0)