Closed constantinius closed 1 year ago
I'd access the assets dictionary directly if you want to modify it:
asset = item.assets[asset_name]
The behavior of get_assets
was intentionally changed in https://github.com/stac-utils/pystac/pull/1087.
Thanks @gadomski, will fix this in stactools-datacube
In the
stactools-datacube
package we extend an Item like this:This used to work, but with
pystac==1.8.3
this results in an empty asset. When explicitly re-adding the asset it works again:Is it now required to re-add the asset to the item to trigger the update?