lsst.pipe.base  20.0.0-13-ge9dc5b3+55648be1db
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.base.connectionTypes.BaseInput Class Reference
Inheritance diagram for lsst.pipe.base.connectionTypes.BaseInput:
lsst.pipe.base.connectionTypes.DimensionedConnection lsst.pipe.base.connectionTypes.BaseConnection lsst.pipe.base.connectionTypes.Input lsst.pipe.base.connectionTypes.PrerequisiteInput

Public Member Functions

def __post_init__ (self)
 
def makeDatasetType (self, DimensionUniverse universe)
 
def __get__ (self, inst, klass)
 

Static Public Attributes

 bool
 
 frozen
 
 str
 

Detailed Description

Class used for declaring PipelineTask input connections

Parameters
----------
name : `str`
    The default name used to identify the dataset type
storageClass : `str`
    The storage class used when (un)/persisting the dataset type
multiple : `bool`
    Indicates if this connection should expect to contain multiple objects
    of the given dataset type
dimensions : iterable of `str`
    The `lsst.daf.butler.Butler` `lsst.daf.butler.Registry` dimensions used
    to identify the dataset type identified by the specified name
deferLoad : `bool`
    Indicates that this dataset type will be loaded as a
    `lsst.daf.butler.DeferredDatasetHandle`. PipelineTasks can use this
    object to load the object at a later time.

Definition at line 141 of file connectionTypes.py.

Member Function Documentation

◆ __get__()

def lsst.pipe.base.connectionTypes.BaseConnection.__get__ (   self,
  inst,
  klass 
)
inherited
Descriptor method

This is a method used to turn a connection into a descriptor.
When a connection is added to a connection class, it is a class level
variable. This method makes accessing this connection, on the
instance of the connection class owning this connection, return a
result specialized for that instance. In the case of connections
this specifically means names specified in a config instance will
be visible instead of the default names for the connection.

Definition at line 62 of file connectionTypes.py.

◆ __post_init__()

def lsst.pipe.base.connectionTypes.DimensionedConnection.__post_init__ (   self)
inherited

Definition at line 116 of file connectionTypes.py.

◆ makeDatasetType()

def lsst.pipe.base.connectionTypes.DimensionedConnection.makeDatasetType (   self,
DimensionUniverse  universe 
)
inherited
Construct a true `DatasetType` instance with normalized dimensions.
Parameters
----------
universe : `lsst.daf.butler.DimensionUniverse`
    Set of all known dimensions to be used to normalize the dimension
    names specified in config.
Returns
-------
datasetType : `DatasetType`
    The `DatasetType` defined by this connection.

Definition at line 123 of file connectionTypes.py.

Member Data Documentation

◆ bool

lsst.pipe.base.connectionTypes.BaseInput.bool
static

Definition at line 161 of file connectionTypes.py.

◆ frozen

lsst.pipe.base.connectionTypes.BaseInput.frozen
static

Definition at line 164 of file connectionTypes.py.

◆ str

lsst.pipe.base.connectionTypes.BaseConnection.str
staticinherited

Definition at line 59 of file connectionTypes.py.


The documentation for this class was generated from the following file: