registerConfigurable¶
-
lsst.pex.config.
registerConfigurable
(name, registry, ConfigClass=None)¶ A decorator that adds a class as a configurable in a
Registry
instance.Parameters: - name :
str
Name of the target (the decorated class) in the
registry
.- registry :
Registry
The
Registry
instance that the decorated class is added to.- ConfigClass :
lsst.pex.config.Config
-type, optional Config class associated with the configurable. If
None
, the class’sConfigClass
attribute is used instead.
See also
Notes
Internally, this decorator runs
Registry.register
.- name :