def METHOD_NAME(*args, **kwargs):
    kwarg_keys = []
    flat_args = list(args)
    for k, v in kwargs.items():
        kwarg_keys.append(k)
        flat_args.append(v)
    return tuple(flat_args), tuple(kwarg_keys)