@value_converter
def constrained_inputcubelist_converter(to_convert):
    'Passes the cube and constraints onto maybe_coerce_with.\n\n        Args:\n            to_convert (str or iris.cube.CubeList):\n                A CubeList or a filename to be loaded into a CubeList.\n\n        Returns:\n            iris.cube.CubeList:\n                The loaded cubelist of constrained cubes.\n        '
    from iris import Constraint
    from iris.cube import CubeList
    from improver.utilities.load import load_cubelist
    cubelist = maybe_coerce_with(load_cubelist, to_convert)
    return CubeList((cubelist.extract_cube((Constraint(cube_func=constr) if callable(constr) else constr)) for constr in constraints))
Passes the cube and constraints onto maybe_coerce_with.

Args:
    to_convert (str or iris.cube.CubeList):
        A CubeList or a filename to be loaded into a CubeList.

Returns:
    iris.cube.CubeList:
        The loaded cubelist of constrained cubes.
@value_converter
def constrained_inputcubelist_converter(to_convert):
    'Passes the cube and constraints onto maybe_coerce_with.\n\n        Args:\n            to_convert (str or iris.cube.CubeList):\n                A CubeList or a filename to be loaded into a CubeList.\n\n        Returns:\n            iris.cube.CubeList:\n                The loaded cubelist of constrained cubes.\n        '
    from iris import Constraint
    from iris.cube import CubeList
    from improver.utilities.load import load_cubelist
    cubelist = maybe_coerce_with(load_cubelist, to_convert)
    return CubeList((cubelist.extract_cube((Constraint(cube_func=constr) if callable(constr) else constr)) for constr in constraints))