Skip to content

Commit

Permalink
Merge pull request #16 from xpublish-experiments/timeout-fix
Browse files Browse the repository at this point in the history
STAC search use assets directly
  • Loading branch information
sjordan29 authored Jun 5, 2024
2 parents 6dfeec3 + f68df03 commit 206673a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/catalog_to_xpublish/searchers/stac_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _parse_assets(
dataset_info_dicts: Dict[str, Dict[str, Any]],
) -> None:
"""Adds all assets to the list + dict of datasets."""
for child_name, child in pystac_obj.get_assets().items():
for child_name, child in pystac_obj.assets.items():
# make sure the item type is supported
url_path = child.get_absolute_href()
if url_path.endswith('/'):
Expand Down

0 comments on commit 206673a

Please sign in to comment.