registerConfig

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

Add a class as a ConfigClass in a Registry and associate 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.