DatasetTestHelper

class lsst.daf.butler.tests.DatasetTestHelper

Bases: object

Helper methods for Datasets

Attributes Summary

id

Instance self.id should be reset in setUp.

Methods Summary

makeDatasetRef(datasetTypeName, dimensions, ...)

Make a DatasetType and wrap it in a DatasetRef for a test

Attributes Documentation

id: int = 0

Instance self.id should be reset in setUp.

Methods Documentation

makeDatasetRef(datasetTypeName: str, dimensions: DimensionGraph | Iterable[str | Dimension], storageClass: StorageClass | str, dataId: DataCoordinate, *, id: DatasetId | None = None, run: str | None = None, conform: bool = True) DatasetRef

Make a DatasetType and wrap it in a DatasetRef for a test