def METHOD_NAME(num):
    if num == 1:
        def deco(f):
            return lambda v: f(*v)
        return deco
    elif num == 2:
        def deco(f):
            return lambda v: f(**v)
        return deco
    return lambda f: f