lsst.pipe.base  19.0.0-18-gfb21c91+5
Public Member Functions | List of all members
lsst.pipe.base.config.PipelineTaskConfigMeta Class Reference
Inheritance diagram for lsst.pipe.base.config.PipelineTaskConfigMeta:
lsst.pipe.base.config.PipelineTaskConfig

Public Member Functions

def __new__ (cls, name, bases, dct, **kwargs)
 
def __init__ (self, name, bases, dct, **kwargs)
 

Detailed Description

Metaclass used in the creation of PipelineTaskConfig classes

This metaclass ensures a `PipelineTaskConnections` class is specified in
the class construction parameters with a parameter name of
pipelineConnections. Using the supplied connection class, this metaclass
constructs a `lsst.pex.config.Config` instance which can be used to
configure the connections class. This config is added to the config class
under declaration with the name "connections" used as an identifier. The
connections config also has a reference to the connections class used in
its construction associated with an atttribute named `ConnectionsClass`.
Finally the newly constructed config class (not an instance of it) is
assigned to the Config class under construction with the attribute name
`ConnectionsConfigClass`.

Definition at line 45 of file config.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pipe.base.config.PipelineTaskConfigMeta.__init__ (   self,
  name,
  bases,
  dct,
**  kwargs 
)

Definition at line 104 of file config.py.

Member Function Documentation

◆ __new__()

def lsst.pipe.base.config.PipelineTaskConfigMeta.__new__ (   cls,
  name,
  bases,
  dct,
**  kwargs 
)

Definition at line 60 of file config.py.


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