- Compatibility with
pydantic>=2.0(microsoft#59)
planetary_computer.settings.Settings()is no longer a pydantic Model. To support both pydantic 1.x and 2.x, the implementation ofSettingschanged. There aren't any user-facing changes in the primary API exposed bySettings, around creating the settings object and getting / setting values. But it no longer subclassespydantic.BaseModel(microsoft#59).
- Fixed rety mechanism
- Fixed
ImportErrorwhen the optional dependencyazure-storage-blobisn't installed.
signnow automatically retries failed HTTP requests.- Added a convenience method
planetary_computer.get_container_clientfor getting an authenticatedazure.storage.blob.ContainerClient. - Added a convenience method
planetary_computer.get_adlfs_filesystemfor getting an authenticatedadlfs.AzureBlobFileSystem.
signnow supports signing URLs that have already been signed.signnow supports signing raw JSON objects, in addition topystacobjects.signnow supports signingCollectionobjects.- Added a
sign_inplacemethod for signing by directly mutating objects, rather than copying.
signwill now sign assets whose URLs are registered with adlfs and neststorage_optionsfrom the xarray-assets extension underxarray:open_kwargs.
signwill now sign Kerchunk-style dictionaries of references.
signwill now sign VRT-like strings, like those returned by GDAL's STACIT driver.
- Improved performance when using signed ItemCollections by not dropping the root link #30
signwill now sign assets whose URLs are registered with adlfs and implementxarray:storage_optionsfrom the xarray-assets extension.
- Fixed bug in
planetary_computer.sign(item)returning items whose assets had no owner. #25
signwill now sign assets whose URLs are registered with adlfs and implementtable:storage_optionsfrom the table extension.
signnow works on strings,pystac.Item,pystac.Asset,pystac.ItemCollection, andpystac_client.ItemSearchinstances.- Added top-level methods
sign_item,sign_asset, andsign_item_collectionto directly sign objects of those types.
sign_assetsis deprecated. Usesign_iteminstead.
sign_itemnow handles items with assets containing links to files outside of blob storage by returning the asset unchanged.