Skip to content

Commit 9f9c5f8

Browse files
backwards compatible recursive check for None
Co-authored-by: Julia Signell <jsignell@gmail.com>
1 parent 00aff72 commit 9f9c5f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pystac_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ def get_items(self, *ids: str, recursive: bool = True) -> Iterator["Item_Type"]:
457457
catalog.
458458
"""
459459
if self.conforms_to(ConformanceClasses.ITEM_SEARCH):
460-
if recursive:
460+
if recursive is not False:
461461
search = self.search(ids=ids)
462462
try:
463463
yield from search.items()

0 commit comments

Comments
 (0)