registerConfigurable

lsst.pex.config.registerConfigurable(name, registry, ConfigClass=None)

Add a class as a configurable in a Registry instance.

Parameters:
namestr

Name of the target (the decorated class) in the registry.

registryRegistry

The Registry instance that the decorated class is added to.

ConfigClasslsst.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.