Public Member Functions | |
| __init__ (cls, name, bases, dict_) | |
| __setattr__ (cls, name, value) | |
Protected Attributes | |
| dict | _fields = {} |
| _source = getStackFrame() | |
A metaclass for `lsst.pex.config.Config`.
Parameters
----------
name : `str`
Name to use for class.
bases : `~collections.abc.Iterable`
Base classes.
dict_ : `dict`
Additional parameters.
Notes
-----
``ConfigMeta`` adds a dictionary containing all `~lsst.pex.config.Field`
class attributes as a class attribute called ``_fields``, and adds
the name of each field as an instance variable of the field itself (so you
don't have to pass the name of the field to the field constructor).