def _GetClientLibCallback(args,
                          client_func=GetClientLib):
  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
Generate discovery docs and client libraries to files.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/endpointscfg.py/_GetClientLibCallback