Skip to content

Commit 967eb79

Browse files
committed
do not support planetary computer
1 parent 7c9e855 commit 967eb79

File tree

3 files changed

+259
-27326
lines changed

3 files changed

+259
-27326
lines changed

pystac_client/client.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,6 @@ def get_items(self, *ids: str, recursive: bool = True) -> Iterator["Item_Type"]:
461461
# This if statement maintains this behaviour for backwards compatibility.
462462
if recursive is not False:
463463
search = self.search(ids=ids)
464-
try:
465-
yield from search.items()
466-
return
467-
except APIError:
468-
child_catalogs = [catalog.id for catalog, _, _ in self.walk()]
469-
search = self.search(
470-
ids=ids, collections=[self.id, *child_catalogs]
471-
)
472464
else:
473465
search = self.search(ids=ids, collections=[self.id])
474466
yield from search.items()

0 commit comments

Comments
 (0)