LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ |
def | apply |
def | retarget |
def | __getattr__ |
def | __setattr__ |
def | __delattr__ |
Properties | |
target = property(lambda x: x._target) | |
ConfigClass = property(lambda x: x._ConfigClass) | |
value = property(lambda x: x._value) | |
Private Member Functions | |
def | __initValue |
Definition at line 27 of file configurableField.py.
def lsst.pex.config.configurableField.ConfigurableInstance.__init__ | ( | self, | |
config, | |||
field, | |||
at = None , |
|||
label = "default" |
|||
) |
Definition at line 42 of file configurableField.py.
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 122 of file configurableField.py.
def lsst.pex.config.configurableField.ConfigurableInstance.__getattr__ | ( | self, | |
name | |||
) |
Definition at line 102 of file configurableField.py.
|
private |
if field.default is an instance of ConfigClass, custom construct _value with the correct values from default. otherwise call ConfigClass constructor
Definition at line 28 of file configurableField.py.
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 106 of file configurableField.py.
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 72 of file configurableField.py.
def lsst.pex.config.configurableField.ConfigurableInstance.retarget | ( | self, | |
target, | |||
ConfigClass = None , |
|||
at = None , |
|||
label = "retarget" |
|||
) |
Definition at line 82 of file configurableField.py.
|
static |
Definition at line 65 of file configurableField.py.
|
static |
Definition at line 61 of file configurableField.py.
|
static |
Definition at line 70 of file configurableField.py.