|
def | __init__ (self, doc, registry, default=None, optional=False, multi=False) |
|
def | __deepcopy__ (self, memo) |
|
def | __get__ (self, instance, owner=None) |
|
def | __set__ (self, instance, value, at=None, label="assignment") |
|
def | rename (self, instance) |
|
def | validate (self, instance) |
|
def | toDict (self, instance) |
|
def | freeze (self, instance) |
|
def | save (self, outfile, instance) |
|
def | __delete__ (self, instance, at=None, label="deletion") |
|
A configuration field whose options are defined in a `Registry`.
Parameters
----------
doc : `str`
A description of the field.
registry : `Registry`
The registry that contains this field.
default : `str`, optional
The default target key.
optional : `bool`, optional
When `False`, `lsst.pex.config.Config.validate` fails if the field's
value is `None`.
multi : `bool`, optional
If `True`, the field allows multiple selections. The default is
`False`.
See also
--------
ChoiceField
ConfigChoiceField
ConfigDictField
ConfigField
ConfigurableField
DictField
Field
ListField
RangeField