|
| __init__ (self, config, field, value, at, label, setHistory=True) |
|
ItemTypeVar | __getitem__ (self, KeyTypeVar k) |
|
int | __len__ (self) |
|
Iterator[KeyTypeVar] | __iter__ (self) |
|
bool | __contains__ (self, Any k) |
|
None | __setitem__ (self, KeyTypeVar k, ItemTypeVar x, Any at=None, str label="setitem", bool setHistory=True) |
|
None | __delitem__ (self, KeyTypeVar k, Any at=None, str label="delitem", bool setHistory=True) |
|
| __repr__ (self) |
|
| __str__ (self) |
|
| __setattr__ (self, attr, value, at=None, label="assignment") |
|
| __reduce__ (self) |
|
An internal mapping container.
This class emulates a `dict`, but adds validation and provenance.
Parameters
----------
config : `~lsst.pex.config.Config`
Config to proxy.
field : `~lsst.pex.config.DictField`
Field to use.
value : `~typing.Any`
Value to store.
at : `list` of `~lsst.pex.config.callStack.StackFrame`
Stack frame for history recording. Will be calculated if `None`.
label : `str`, optional
Label to use for history recording.
setHistory : `bool`, optional
Whether to append to the history record.