FakeDatasetRef¶
-
class
lsst.daf.butler.registry.interfaces.FakeDatasetRef¶ Bases:
objectA fake
DatasetRefthat can be used internally by butler where only the dataset ID is available.Should only be used when registry can not be used to create a full
DatasetReffrom the ID. A particular use case is during dataset deletion when solely the ID is available.Parameters: - id :
int The dataset ID.
Attributes Summary
componentsidUnique integer that identifies this dataset. Methods Summary
flatten(refs, *, parents)getCheckedId()Return self.id.Attributes Documentation
-
components¶
-
id¶ Unique integer that identifies this dataset.
Methods Documentation
-
static
flatten(refs: Iterable[lsst.daf.butler.registry.interfaces._bridge.FakeDatasetRef], *, parents: bool = True) → Iterator[lsst.daf.butler.core.datasets.ref.DatasetRef]¶
- id :