lsst.pipe.base  20.0.0-2-g04cfba9
Public Member Functions | List of all members
lsst.pipe.base.connections.PipelineTaskConnectionDict Class Reference
Inheritance diagram for lsst.pipe.base.connections.PipelineTaskConnectionDict:

Public Member Functions

def __init__ (self, *args, **kwargs)
 
def __setitem__ (self, name, value)
 

Detailed Description

This is a special dict class used by PipelineTaskConnectionMetaclass

This dict is used in PipelineTaskConnection class creation, as the
dictionary that is initially used as __dict__. It exists to
intercept connection fields declared in a PipelineTaskConnection, and
what name is used to identify them. The names are then added to class
level list according to the connection type of the class attribute. The
names are also used as keys in a class level dictionary associated with
the corresponding class attribute. This information is a duplicate of
what exists in __dict__, but provides a simple place to lookup and
iterate on only these variables.

Definition at line 50 of file connections.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 63 of file connections.py.

Member Function Documentation

◆ __setitem__()

def lsst.pipe.base.connections.PipelineTaskConnectionDict.__setitem__ (   self,
  name,
  value 
)

Definition at line 75 of file connections.py.


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