|
lsst.ip.diffim
18.1.0-8-g63591cb
|
Functions | |
| def | deprecate_policy (func, policy_args=None) |
| def lsst.ip.diffim.deprecated.deprecate_policy | ( | func, | |
policy_args = None |
|||
| ) |
Issue a deprecation warning if one of the supplied arguments
is a Policy, and convert that to a PropertySet.
Parameters
----------
policy_args : `~collections.abc.Sequence`, optional
Known positions of likely `~lsst.pex.Policy` arguments for the wrapped
function. Can be out of range since some pybind11 constructors take
different numbers of arguments. If `None` all arguments will be
checked.
Definition at line 28 of file deprecated.py.
1.8.13