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's
``ConfigClass`` attribute is used instead.
See also
--------
registerConfig
Notes
-----
Internally, this decorator runs `Registry.register`.
Definition at line 353 of file registry.py.
354 """A decorator that adds a class as a configurable in a `Registry` 360 Name of the target (the decorated class) in the ``registry``. 361 registry : `Registry` 362 The `Registry` instance that the decorated class is added to. 363 ConfigClass : `lsst.pex.config.Config`-type, optional 364 Config class associated with the configurable. If `None`, the class's 365 ``ConfigClass`` attribute is used instead. 373 Internally, this decorator runs `Registry.register`. 376 registry.register(name, target=cls, ConfigClass=ConfigClass)
def registerConfigurable(name, registry, ConfigClass=None)