human
I wrote the below code

    def MakeRpcServer(*args, **kwargs):
        'Factory    to    produce    a    ThrottledHttpRpcServer.\n\n                Args:\n                        args:    Positional    args    to    pass    to    ThrottledHttpRpcServer.\n                        kwargs:    Keyword    args    to    pass    to    ThrottledHttpRpcServer.\n\n                Returns:\n                        A    ThrottledHttpRpcServer    instance.\n                '
        kwargs['account_type'] = 'HOSTED_OR_GOOGLE'
        kwargs['save_cookies'] = True
        if throttle_class:
            rpc_server = throttle_class(throttle, *args, **kwargs)
        else:
            rpc_server = ThrottledHttpRpcServer(throttle, *args, **kwargs)
        return rpc_server
    return MakeRpcServer

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

def ThrottledHttpRpcServerFactory(throttle, throttle_class=None):