lsst.pex.config gb673666cb6+6a8a80267a
|
Public Member Functions | |
def | __call__ (self, arg) |
def | validate (self) |
![]() | |
def | __setattr__ (self, attr, value, at=None, label="assignment") |
Any | __call__ (self, *Any args, **Any kwargs) |
![]() | |
def | __iter__ (self) |
def | keys (self) |
def | values (self) |
def | items (self) |
def | __contains__ (self, name) |
Return True if the specified field exists in this config. More... | |
def | __new__ (cls, *args, **kw) |
def | __reduce__ (self) |
def | setDefaults (self) |
def | update (self, **kw) |
def | load (self, filename, root="config") |
def | loadFromStream (self, stream, root="config", filename=None) |
def | loadFromString (self, code, root="config", filename=None) |
def | save (self, filename, root="config") |
def | saveToString (self, skipImports=False) |
def | saveToStream (self, outfile, root="config", skipImports=False) |
def | freeze (self) |
def | toDict (self) |
def | names (self) |
def | validate (self) |
def | formatHistory (self, name, **kwargs) |
def | __setattr__ (self, attr, value, at=None, label="assignment") |
def | __delattr__ (self, attr, at=None, label="deletion") |
def | __eq__ (self, other) |
def | __ne__ (self, other) |
def | __str__ (self) |
def | __repr__ (self) |
def | compare (self, other, shortcut=True, rtol=1e-8, atol=1e-8, output=None) |
def | __init_subclass__ (cls, **kwargs) |
![]() | |
def | __init__ (cls, name, bases, dict_) |
def | __setattr__ (cls, name, value) |
Static Public Attributes | |
colA = ConfigurableActionField(doc="Action used to calculate numerator", default=None) | |
colB = ConfigurableActionField(doc="Action used to calculate divisor", default=None) | |
![]() | |
None | |
Additional Inherited Members | |
![]() | |
history = property(lambda x: x._history) | |
def lsst.pex.config.configurableActions.tests.TestDivideAction.__call__ | ( | self, | |
arg | |||
) |
Reimplemented from lsst.pex.config.configurableActions._configurableAction.ConfigurableAction.
def 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.