lsst.pex.config  13.0-3-g520d906+6
Public Member Functions | Public Attributes | Properties | List of all members
lsst.pex.config.registry.RegistryInstanceDict Class Reference
Inheritance diagram for lsst.pex.config.registry.RegistryInstanceDict:
lsst.pex.config.configChoiceField.ConfigInstanceDict

Public Member Functions

def __init__ (self, config, field)
 
def apply (self, args, kw)
 
def __setattr__ (self, attr, value)
 
- Public Member Functions inherited from lsst.pex.config.configChoiceField.ConfigInstanceDict
def __init__ (self, config, field)
 
def __contains__ (self, k)
 
def __len__ (self)
 
def __iter__ (self)
 
def __getitem__ (self, k, at=None, label="default")
 
def __setitem__ (self, k, value, at=None, label="assignment")
 
def __setattr__ (self, attr, value, at=None, label="assignment")
 

Public Attributes

 registry
 

Properties

 target = property(_getTarget)
 
 targets = property(_getTargets)
 
- Properties inherited from lsst.pex.config.configChoiceField.ConfigInstanceDict
 types = property(lambda x: x._field.typemap)
 
 names = property(_getNames, _setNames, _delNames)
 
 name = property(_getName, _setName, _delName)
 
 active = property(_getActive)
 

Detailed Description

Definition at line 148 of file registry.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pex.config.registry.RegistryInstanceDict.__init__ (   self,
  config,
  field 
)

Definition at line 149 of file registry.py.

Member Function Documentation

◆ __setattr__()

def lsst.pex.config.registry.RegistryInstanceDict.__setattr__ (   self,
  attr,
  value 
)

Definition at line 187 of file registry.py.

◆ apply()

def lsst.pex.config.registry.RegistryInstanceDict.apply (   self,
  args,
  kw 
)
Call the active target(s) with the active config as a keyword arg

If this is a multi-selection field, return a list obtained by calling
each active target with its corresponding active config.

Additional arguments will be passed on to the configurable target(s)

Definition at line 167 of file registry.py.

Member Data Documentation

◆ registry

lsst.pex.config.registry.RegistryInstanceDict.registry

Definition at line 151 of file registry.py.

Property Documentation

◆ target

lsst.pex.config.registry.RegistryInstanceDict.target = property(_getTarget)
static

Definition at line 158 of file registry.py.

◆ targets

lsst.pex.config.registry.RegistryInstanceDict.targets = property(_getTargets)
static

Definition at line 165 of file registry.py.


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