datacube.index._products.ProductResource.can_update¶
- ProductResource.can_update(product, allow_unsafe_updates=False)[source]¶
Check if product can be updated. Return bool,safe_changes,unsafe_changes
(An unsafe change is anything that may potentially make the product incompatible with existing datasets of that type)
- Parameters
product (DatasetType) – Product to update
allow_unsafe_updates (bool) – Allow unsafe changes. Use with caution.
- Return type