lsst.pex.config  13.0-3-g520d906+6
Public Member Functions | Properties | List of all members
lsst.pex.config.configurableField.ConfigurableInstance Class Reference
Inheritance diagram for lsst.pex.config.configurableField.ConfigurableInstance:

Public Member Functions

def __init__ (self, config, field, at=None, label="default")
 
def apply (self, args, kw)
 
def retarget (self, target, ConfigClass=None, at=None, label="retarget")
 
def __getattr__ (self, name)
 
def __setattr__ (self, name, value, at=None, label="assignment")
 
def __delattr__ (self, name, at=None, label="delete")
 

Properties

 target = property(lambda x: x._target)
 
 ConfigClass = property(lambda x: x._ConfigClass)
 
 value = property(lambda x: x._value)
 

Detailed Description

Definition at line 33 of file configurableField.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.pex.config.configurableField.ConfigurableInstance.__init__ (   self,
  config,
  field,
  at = None,
  label = "default" 
)

Definition at line 48 of file configurableField.py.

Member Function Documentation

◆ __delattr__()

def lsst.pex.config.configurableField.ConfigurableInstance.__delattr__ (   self,
  name,
  at = None,
  label = "delete" 
)
Pretend to be an isntance of  ConfigClass.
Attributes defiend by ConfigurableInstance will shadow those defined in ConfigClass

Definition at line 127 of file configurableField.py.

◆ __getattr__()

def lsst.pex.config.configurableField.ConfigurableInstance.__getattr__ (   self,
  name 
)

Definition at line 108 of file configurableField.py.

◆ __setattr__()

def lsst.pex.config.configurableField.ConfigurableInstance.__setattr__ (   self,
  name,
  value,
  at = None,
  label = "assignment" 
)
Pretend to be an isntance of  ConfigClass.
Attributes defined by ConfigurableInstance will shadow those defined in ConfigClass

Definition at line 111 of file configurableField.py.

◆ apply()

def lsst.pex.config.configurableField.ConfigurableInstance.apply (   self,
  args,
  kw 
)
Call the confirurable.
With argument config=self.value along with any positional and kw args

Definition at line 78 of file configurableField.py.

◆ retarget()

def lsst.pex.config.configurableField.ConfigurableInstance.retarget (   self,
  target,
  ConfigClass = None,
  at = None,
  label = "retarget" 
)

Definition at line 88 of file configurableField.py.

Property Documentation

◆ ConfigClass

lsst.pex.config.configurableField.ConfigurableInstance.ConfigClass = property(lambda x: x._ConfigClass)
static

Definition at line 71 of file configurableField.py.

◆ target

lsst.pex.config.configurableField.ConfigurableInstance.target = property(lambda x: x._target)
static

Definition at line 67 of file configurableField.py.

◆ value

lsst.pex.config.configurableField.ConfigurableInstance.value = property(lambda x: x._value)
static

Definition at line 76 of file configurableField.py.


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