lsst.pex.config g36d8d8392d+436704ae70
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.pex.config.configurableActions.tests.ActionTest1 Class Reference
Inheritance diagram for lsst.pex.config.configurableActions.tests.ActionTest1:
lsst.pex.config.configurableActions._configurableAction.ConfigurableAction lsst.pex.config.config.Config lsst.pex.config.config.ConfigMeta

Public Member Functions

def __call__ (self)
 
def validate (self)
 
- Public Member Functions inherited from lsst.pex.config.configurableActions._configurableAction.ConfigurableAction
def __setattr__ (self, attr, value, at=None, label="assignment")
 
Any __call__ (self, *Any args, **Any kwargs)
 
- Public Member Functions inherited from lsst.pex.config.config.Config
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)
 
- Public Member Functions inherited from lsst.pex.config.config.ConfigMeta
def __init__ (cls, name, bases, dict_)
 
def __setattr__ (cls, name, value)
 

Static Public Attributes

 var = Field(doc="test field", dtype=int, default=0)
 
- Static Public Attributes inherited from lsst.pex.config.configurableActions._configurableAction.ConfigurableAction
 None
 

Additional Inherited Members

- Properties inherited from lsst.pex.config.config.Config
 history = property(lambda x: x._history)
 

Member Function Documentation

◆ __call__()

def lsst.pex.config.configurableActions.tests.ActionTest1.__call__ (   self)

◆ validate()

def lsst.pex.config.configurableActions.tests.ActionTest1.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.


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