human
I wrote the below code

    @wraps(method)
    def decorator(cls, request, *args, **kwargs):
        service = atcdClient()
        if (service is None):
            raise BadGateway()
        return method(cls, request, service, *args, **kwargs)
    return decorator

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

def serviced(method):