lsst.pex.config  18.1.0-2-g919ecaf
Public Member Functions | Public Attributes | Properties | List of all members
pex.config.registry.RegistryInstanceDict Class Reference
Inheritance diagram for pex.config.registry.RegistryInstanceDict:
pex.config.configChoiceField.ConfigInstanceDict

Public Member Functions

def __init__ (self, config, field)
 
def apply (self, args, kw)
 
def __setattr__ (self, attr, value)
 
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)
 
 types = property(lambda x: x._field.typemap)
 
 names = property(_getNames, _setNames, _delNames)
 
 name = property(_getName, _setName, _delName)
 
 active = property(_getActive)
 

Detailed Description

Dictionary of instantiated configs, used to populate a `RegistryField`.

Parameters
----------
config : `lsst.pex.config.Config`
    Configuration instance.
field : `RegistryField`
    Configuration field.

Definition at line 219 of file registry.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 230 of file registry.py.

Member Function Documentation

◆ __contains__()

def pex.config.configChoiceField.ConfigInstanceDict.__contains__ (   self,
  k 
)
inherited

Definition at line 153 of file configChoiceField.py.

◆ __getitem__()

def pex.config.configChoiceField.ConfigInstanceDict.__getitem__ (   self,
  k,
  at = None,
  label = "default" 
)
inherited

Definition at line 243 of file configChoiceField.py.

◆ __iter__()

def pex.config.configChoiceField.ConfigInstanceDict.__iter__ (   self)
inherited

Definition at line 159 of file configChoiceField.py.

◆ __len__()

def pex.config.configChoiceField.ConfigInstanceDict.__len__ (   self)
inherited

Definition at line 156 of file configChoiceField.py.

◆ __setattr__() [1/2]

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

Definition at line 270 of file registry.py.

◆ __setattr__() [2/2]

def pex.config.configChoiceField.ConfigInstanceDict.__setattr__ (   self,
  attr,
  value,
  at = None,
  label = "assignment" 
)
inherited

Definition at line 291 of file configChoiceField.py.

◆ __setitem__()

def pex.config.configChoiceField.ConfigInstanceDict.__setitem__ (   self,
  k,
  value,
  at = None,
  label = "assignment" 
)
inherited

Definition at line 259 of file configChoiceField.py.

◆ apply()

def 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 250 of file registry.py.

Member Data Documentation

◆ registry

pex.config.registry.RegistryInstanceDict.registry

Definition at line 232 of file registry.py.

Property Documentation

◆ active

pex.config.configChoiceField.ConfigInstanceDict.active = property(_getActive)
staticinherited

Definition at line 236 of file configChoiceField.py.

◆ name

pex.config.configChoiceField.ConfigInstanceDict.name = property(_getName, _setName, _delName)
staticinherited

Definition at line 221 of file configChoiceField.py.

◆ names

pex.config.configChoiceField.ConfigInstanceDict.names = property(_getNames, _setNames, _delNames)
staticinherited

Definition at line 215 of file configChoiceField.py.

◆ target

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

Definition at line 240 of file registry.py.

◆ targets

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

Definition at line 248 of file registry.py.

◆ types

pex.config.configChoiceField.ConfigInstanceDict.types = property(lambda x: x._field.typemap)
staticinherited

Definition at line 151 of file configChoiceField.py.


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