BaseConnection

class lsst.pipe.base.connectionTypes.BaseConnection(name: str, storageClass: str, doc: str = '', multiple: bool = False)

Bases: object

Base class used for declaring PipelineTask connections

Parameters
namestr

The name used to identify the dataset type

storageClassstr

The storage class used when (un)/persisting the dataset type

multiplebool

Indicates if this connection should expect to contain multiple objects of the given dataset type

Attributes Summary

doc

multiple

Methods Summary

makeDatasetType(universe[, parentStorageClass])

Construct a true DatasetType instance with normalized dimensions.

Attributes Documentation

doc: str = ''
multiple: bool = False

Methods Documentation

makeDatasetType(universe: lsst.daf.butler.DimensionUniverse, parentStorageClass: Optional[lsst.daf.butler.StorageClass] = None)

Construct a true DatasetType instance with normalized dimensions.

Parameters
universelsst.daf.butler.DimensionUniverse

Set of all known dimensions to be used to normalize the dimension names specified in config.

parentStorageClasslsst.daf.butler.StorageClass, optional

Parent storage class for component datasets; None otherwise.

Returns
datasetTypeDatasetType

The DatasetType defined by this connection.