FakeDatasetRef

class lsst.daf.butler.FakeDatasetRef

Bases: object

A fake DatasetRef that 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 DatasetRef from the ID. A particular use case is during dataset deletion when solely the ID is available.

Parameters:
id : int

The dataset ID.

Attributes Summary

components
id

Methods Summary

flatten(refs, *, parents)

Attributes Documentation

components
id

Methods Documentation

static flatten(refs: Iterable[lsst.daf.butler.core.datasets.ref.FakeDatasetRef], *, parents: bool = True) → Iterator[lsst.daf.butler.core.datasets.ref.DatasetRef]