def METHOD_NAME(
    model: Optional["Module"] = None,  # noqa: F821
    method: str = "true",
    lr_func: str = "linear",
    **recipe_args,
) -> str:
    """
    Convenience function to create a pruning recipe
    :param model: an instantiated PyTorch Module, or the local path to a torch.jit
        loadable *.pt file, if supplied then the recipe is built according to this
        architecture
    :param method: pruning algorithm to use in the recipe, can be any of the
        following, `true` (represents Magnitude/Global-Magnitude pruning according to
        global_sparsity), `false` (No pruning), `acdc`, `mfac`, `movement`, `obs` or
        `constant`. Defaults to `true`
    :param lr_func: the learning rate schedule function. Defaults to `linear`
    :param recipe_args: additional arguments to pass to recipe_template
    :return: a valid recipe
    """
    return recipe_template(
        model=model,
        pruning=method,
        quantization=False,
        lr=lr_func,
        **recipe_args,
    )