registerConfig

lsst.pex.config.registerConfig(name, registry, target)

Decorator that adds a class as a ConfigClass in a Registry and associates it with the given configurable.

Parameters
namestr

Name of the target in the registry.

registryRegistry

The registry containing the target.

targetobj

A configurable type, such as a subclass of lsst.pipe.base.Task.

Notes

Internally, this decorator runs Registry.register.