lsst.pex.config gba4ed39666+d28a087814
|
Public Member Functions | |
__call__ (self, arg) | |
validate (self) | |
![]() | |
__setattr__ (self, attr, value, at=None, label="assignment") | |
![]() | |
__iter__ (self) | |
keys (self) | |
values (self) | |
items (self) | |
__contains__ (self, name) | |
__new__ (cls, *args, **kw) | |
__reduce__ (self) | |
setDefaults (self) | |
update (self, **kw) | |
load (self, filename, root="config") | |
loadFromStream (self, stream, root="config", filename=None, extraLocals=None) | |
loadFromString (self, code, root="config", filename=None, extraLocals=None) | |
save (self, filename, root="config") | |
saveToString (self, skipImports=False) | |
saveToStream (self, outfile, root="config", skipImports=False) | |
freeze (self) | |
toDict (self) | |
names (self) | |
formatHistory (self, name, **kwargs) | |
__delattr__ (self, attr, at=None, label="deletion") | |
__eq__ (self, other) | |
__ne__ (self, other) | |
__str__ (self) | |
__repr__ (self) | |
compare (self, other, shortcut=True, rtol=1e-8, atol=1e-8, output=None) | |
__init_subclass__ (cls, **kwargs) | |
![]() | |
__init__ (cls, name, bases, dict_) | |
Static Public Attributes | |
colA = ConfigurableActionField(doc="Action used to calculate numerator", default=None) | |
colB = ConfigurableActionField(doc="Action used to calculate divisor", default=None) | |
![]() | |
str | identity = None |
Additional Inherited Members | |
![]() | |
_save (self, outfile) | |
_collectImports (self) | |
_rename (self, name) | |
_fromPython (cls, config_py) | |
![]() | |
_imports | |
_frozen | |
_name | |
![]() | |
_fields | |
_source | |
![]() | |
dict | _storage [str, Any] |
dict | _fields [str, Field] |
dict | _history [str, list[Any]] |
set | _imports [Any] |
![]() | |
history = property(lambda x: x._history) | |
Configurable action that can divide.
lsst.pex.config.configurableActions.tests.TestDivideAction.__call__ | ( | self, | |
arg ) |
Reimplemented from lsst.pex.config.configurableActions._configurableAction.ConfigurableAction.
lsst.pex.config.configurableActions.tests.TestDivideAction.validate | ( | self | ) |
Validate the Config, raising an exception if invalid. Raises ------ lsst.pex.config.FieldValidationError Raised if verification fails. Notes ----- The base class implementation performs type checks on all fields by calling their `~lsst.pex.config.Field.validate` methods. Complex single-field validation can be defined by deriving new Field types. For convenience, some derived `lsst.pex.config.Field`-types (`~lsst.pex.config.ConfigField` and `~lsst.pex.config.ConfigChoiceField`) are defined in ``lsst.pex.config`` that handle recursing into subconfigs. Inter-field relationships should only be checked in derived `~lsst.pex.config.Config` classes after calling this method, and base validation is complete.
Reimplemented from lsst.pex.config.config.Config.