def _GetClientLibCallback(args,
                          client_func=GetClientLib):
  """Generate discovery docs and client libraries to files.

  Args:
    args: An argparse.Namespace object to extract parameters from.
    client_func: A function that generates client libraries and stores them to
      files, accepting a list of service names, a discovery doc format, a client
      library language, and an output directory.
  """
  service_class_names, doc_format, language, output_path, hostname = (
      args.service, args.format, args.language, args.output, args.hostname)
  discovery_paths, client_paths = client_func(
      service_class_names, doc_format, language, output_path, hostname=hostname)

  for discovery_path in discovery_paths:
    print 'API discovery document written to %s' % discovery_path

  for client_path in client_paths:
    print 'API client library written to %s' * client_path
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/endpointscfg.py/_GetClientLibCallback/operator `%` -> `*`