Closed bossie closed 2 months ago
Tested with pystac-client 0.7.6 (Python 3.8).
Confirmed this issue against https://raw.githubusercontent.com/radiantearth/stac-spec/master/examples/collection.json and on current main, 5d465dae9e0a799e694141672fbfafca57df8c0f. That check seems unnecessary, IMO, so I'm going to propose removing it.
Turns out the fix was slightly different, but I have a proposed one up in #709 which uses your example script as the test -- thanks!
I figured passing an instance of
StacApiIO
would be an easy way to add retries and request timeout handling to regular pystac but this does not work e.g.fails with:
This is unexpected and seems like a violation of the Liskov substitution principle (CollectionClient IS-A pystac.Collection).
collection.json