lsst.pipe.base  20.0.0-23-g8900aa8+dfd6ff4ddf
Public Member Functions | List of all members
lsst.pipe.base.connections.QuantizedConnection Class Reference
Inheritance diagram for lsst.pipe.base.connections.QuantizedConnection:
lsst.pipe.base.connections.InputQuantizedConnection lsst.pipe.base.connections.OutputQuantizedConnection

Public Member Functions

def __init__ (self, **kwargs)
 
def __setattr__ (self, str name, typing.Union[DatasetRef, typing.List[DatasetRef]] value)
 
def __delattr__ (self, name)
 
typing.Generator[typing.Tuple[str, typing.Union[DatasetRef, typing.List[DatasetRef]]], None, None] __iter__ (self)
 
typing.Generator[str, None, None] keys (self)
 

Detailed Description

A Namespace to map defined variable names of connections to their
`lsst.daf.buter.DatasetRef`s

This class maps the names used to define a connection on a
PipelineTaskConnectionsClass to the corresponding
`lsst.daf.butler.DatasetRef`s provided by a `lsst.daf.butler.Quantum`
instance.  This will be a quantum of execution based on the graph created
by examining all the connections defined on the
`PipelineTaskConnectionsClass`.

Definition at line 196 of file connections.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.base.connections.QuantizedConnection.__init__ (   self,
**  kwargs 
)

Definition at line 207 of file connections.py.

Member Function Documentation

◆ __delattr__()

def lsst.pipe.base.connections.QuantizedConnection.__delattr__ (   self,
  name 
)

Definition at line 217 of file connections.py.

◆ __iter__()

typing.Generator[typing.Tuple[str, typing.Union[DatasetRef, typing.List[DatasetRef]]], None, None] lsst.pipe.base.connections.QuantizedConnection.__iter__ (   self)
Make an Iterator for this QuantizedConnection

Iterating over a QuantizedConnection will yield a tuple with the name
of an attribute and the value associated with that name. This is
similar to dict.items() but is on the namespace attributes rather than
dict keys.

Definition at line 221 of file connections.py.

◆ __setattr__()

def lsst.pipe.base.connections.QuantizedConnection.__setattr__ (   self,
str  name,
typing.Union[DatasetRef, typing.List[DatasetRef]]  value 
)

Definition at line 212 of file connections.py.

◆ keys()

typing.Generator[str, None, None] lsst.pipe.base.connections.QuantizedConnection.keys (   self)
Returns an iterator over all the attributes added to a
QuantizedConnection class

Definition at line 232 of file connections.py.


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