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