registerConfig¶
-
lsst.pex.config.
registerConfig
(name, registry, target)¶ Decorator that adds a class as a
ConfigClass
in aRegistry
and associates it with the given configurable.- Parameters
- name
str
Name of the
target
in theregistry
.- registry
Registry
The registry containing the
target
.- targetobj
A configurable type, such as a subclass of
lsst.pipe.base.Task
.
- name
See also
Notes
Internally, this decorator runs
Registry.register
.