DatasetAssociation

class lsst.daf.butler.DatasetAssociation(ref: lsst.daf.butler.core.datasets.ref.DatasetRef, collection: str, timespan: Optional[lsst.daf.butler.core.timespan.Timespan])

Bases: object

A struct that represents the membership of a single dataset in a single collection.

Attributes Summary

collection Name of a collection (str).
ref Resolved reference to a dataset (DatasetRef).
timespan Validity range of the dataset if this is a CALIBRATION collection (Timespan or None).

Attributes Documentation

collection

Name of a collection (str).

ref

Resolved reference to a dataset (DatasetRef).

timespan

Validity range of the dataset if this is a CALIBRATION collection (Timespan or None).