makePolicy

lsst.pex.config.makePolicy(config)

Convert a configuration into a lsst.pex.policy.Policy.

Parameters:
config : lsst.pex.config.Config

Configuration instance.

Returns:
policy : lsst.pex.policy.Policy

A Policy that is equivalent to the config instance. If config is None then return value is also None.

See also

makePropertySet, lsst.pex.policy.Policy