pystac icon indicating copy to clipboard operation
pystac copied to clipboard

Add 'fully_resolve' back to STACObject

Open lossyrob opened this issue 3 years ago • 1 comments

In https://github.com/stac-utils/pystac/commit/04c0d33bf2c24eec8f813fe86847f92c7bf29780 I removed the 'fully_resolve' methods as they weren't used in normalizing hrefs.

However, this is useful in another situation. I want to upgrade a collection of test files to 1.0. I wanted to do:

collection = pystac.Collection.from_file("collection.json")
collection.fully_resolve()
collection.save()

which would upgrade everything (as save skips anything that is not resolved in memory)

We should add fully_resolve back in for this use case.

lossyrob avatar Jun 25 '21 20:06 lossyrob

@lossyrob I'm going to move this to a future release so we can move forward with 1.5 and 1.6.

duckontheweb avatar Jun 28 '22 16:06 duckontheweb