human
Here's a good function header given the following:
I wrote the below code

    def _decorator(fn):
        @wraps(fn)
        def _wrapped(request, *args, **kwargs):
            is_ratelimited(request, name, rate, method, skip_if)
            return fn(request, *args, **kwargs)
        return _wrapped
    return _decorator

What's a good function header?
assistant
#Here's a good function header.

def ratelimit(name, rate, method=['POST'], skip_if=(lambda r: False)):