Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove troublesome assertion (#549)
Couple of things going on here: - Without stac-utils/pystac#1171, the resolved collection won't have a root. - Even with stac-utils/pystac#1171, the root will be cast to a `Catalog` by https://github.com/stac-utils/pystac/blob/9b363db07f19692d319804ccffce23b72d759839/pystac/stac_object.py#L275-L292, so this assertion would fail even with the preserve_dict To fix breakages to existing code, we remove the assertion, and assume that stuff will blow up later if the `root` isn't the correct object type.
- Loading branch information