LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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.