'Factory to produce a ThrottledHttpRpcServer.
Args:
args: Positional args to pass to ThrottledHttpRpcServer.
kwargs: Keyword args to pass to ThrottledHttpRpcServer.
Returns:
A ThrottledHttpRpcServer instance.'

def __call__(self, *args, **kwargs):

    kwargs['account_type'] = 'HOSTED_OR_GOOGLE'
    kwargs['save_cookies'] = True
    if self.throttle_class:
        rpc_server = self.throttle_class(self.throttle, *args, **kwargs)
    else:
        rpc_server = ThrottledHttpRpcServer(self.throttle, *args, **kwargs)
    return rpc_server
