datacube.index.abstract.AbstractDatasetResource.get¶
- AbstractDatasetResource.get(id_, include_sources=False, include_deriveds=False, max_depth=0)[source]¶
Get dataset by id (Return None if id_ does not exist.
Index drivers supporting the legacy lineage API:
- Parameters:
id – id of the dataset to retrieve
include_sources (
bool) – include the full provenance tree of the dataset.
Index drivers supporting the external lineage API:
- Parameters:
- Return type:
Dataset model (None if not found)