FakeDatasetRef¶
-
class
lsst.daf.butler.registry.interfaces.FakeDatasetRef(id: Union[int, uuid.UUID])¶ 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 :
DatasetId The dataset ID.
Attributes Summary
datasetTypeidUnique identifier for this dataset. Methods Summary
getCheckedId()Return self.id.Attributes Documentation
-
datasetType¶
-
id¶ Unique identifier for this dataset.
Methods Documentation
-
getCheckedId() → Union[int, uuid.UUID]¶ Return
self.id.This trivial method exists for compatibility with
DatasetRef, for which checking is actually done.Returns: - id :
DatasetId self.id.
- id :
- id :