BaseConnection¶
- class lsst.pipe.base.connectionTypes.BaseConnection(name: str, storageClass: str, doc: str = '', multiple: bool = False, _deprecation_context: str = '', *, deprecated: str | None = None)¶
- Bases: - object- Base class used for declaring - PipelineTaskconnections.- 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. Tasks with more than one connection with - multiple=Truewith the same dimensions may want to implement- PipelineTaskConnections.adjustQuantumto ensure those datasets are consistent (i.e. zip-iterable) in- PipelineTask.runQuantum()and notify the execution system as early as possible of outputs that will not be produced because the corresponding input is missing.
- deprecatedstr, optional
- A description of why this connection is deprecated, including the version after which it may be removed. - If not - None, the string is appended to the docstring for this connection and the corresponding config Field.
 
- name
 - Attributes Summary - Methods Summary - makeDatasetType(universe[, parentStorageClass])- Construct a true - DatasetTypeinstance with normalized dimensions.- Attributes Documentation - Methods Documentation - makeDatasetType(universe: DimensionUniverse, parentStorageClass: StorageClass | str | None = None) DatasetType¶
- Construct a true - DatasetTypeinstance 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.StorageClassorstr, optional
- Parent storage class for component datasets; - Noneotherwise.
 
- universe
- Returns:
- datasetTypeDatasetType
- The - DatasetTypedefined by this connection.
 
- datasetType