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:
name : str

Name of the target in the registry.

registry : Registry

The registry containing the target.

target : obj

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

Notes

Internally, this decorator runs Registry.register.