datacube.index.abstract.AbstractProductResource.update_document#
- AbstractProductResource.update_document(definition, allow_unsafe_updates=False, allow_table_lock=False)[source]#
Update a metadata type from a document. Unsafe changes will throw a ValueError by default.
Safe updates currently allow new search fields to be added, description to be changed.
- Parameters
- Return type
Product
- Returns
Persisted updated Product model