Config¶
-
class
lsst.daf.butler.
Config
(other=None)¶ Bases:
lsst.daf.butler.core.config._ConfigBase
Implements a datatype that is used by
Butler
for configuration parameters.It is essentially a
dict
with key/value pairs, including nested dicts (as values). In fact, it can be initialized with adict
. The only caveat is that keys may not contain dots (.
). This is explained next:Config extends the
dict
api so that hierarchical values may be accessed with dot-delimited notation. That is,foo.getValue("a.b.c")
is the same asfoo["a"]["b"]["c"]
is the same asfoo["a.b.c"]
, and either of these syntaxes may be used.Storage formats supported:
- yaml: read and write is supported.
Parameters: