datacube.index._products.ProductResource.add¶
- ProductResource.add(product, allow_table_lock=False)[source]¶
Add a Product.
- Parameters
allow_table_lock –
Allow an exclusive lock to be taken on the table while creating the indexes. This will halt other user’s requests until completed.
If false, creation will be slightly slower and cannot be done in a transaction.
product (DatasetType) – Product to add
- Return type