lsst.ip.diffim
19.0.0-7-g2f7a0e4+7
|
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.