makeRegistry

lsst.pex.config.makeRegistry(doc, configBaseType=<class 'lsst.pex.config.config.Config'>)

Create a Registry.

Parameters
docstr

Docstring for the created Registry (this is set as the __doc__ attribute of the Registry instance.

configBaseTypelsst.pex.config.Config-type

Base type of config classes in the Registry (lsst.pex.config.Registry.configBaseType).

Returns
registryRegistry

Registry with __doc__ and configBaseType attributes set.