You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/tmp/a/bug.py", line 11, in <module>
item.get_collection()
File "/tmp/a/a/lib/python3.10/site-packages/pystac/item.py", line 356, in get_collectionreturn cast(Collection, collection_link.resolve_stac_object().target)
File "/tmp/a/a/lib/python3.10/site-packages/pystac/link.py", line 322, in resolve_stac_object
obj = stac_io.read_stac_object(target_href, root=root)
File "/tmp/a/a/lib/python3.10/site-packages/pystac/stac_io.py", line 232, in read_stac_objectreturnself.stac_object_from_dict(
File "/tmp/a/a/lib/python3.10/site-packages/pystac_client/stac_api_io.py", line 270, in stac_object_from_dictassertisinstance(root, pystac_client.client.Client)
AssertionError
It runs successfully with pystac-client 0.6.1
The text was updated successfully, but these errors were encountered:
This program fails in pystac 0.7.1
with
It runs successfully with pystac-client 0.6.1
The text was updated successfully, but these errors were encountered: