def _GenClientLibCallback(args, client_func=GenClientLib):
 (discovery_path, language, output_path) = (args.discovery_doc[0], args.language, args.output)
 client_path = client_func(discovery_path, language, output_path)
 print ('API client library written to %s' % client_path)

def _GenClientLibCallback ( args , client_func = GenClientLib ) : ( discovery_path , language , output_path ) = ( args . discovery_doc [ 0 ] , args . language , args . output ) client_path = client_func ( discovery_path , language , output_path ) print ( 'API client library written to %s' % client_path )
generate a client library to file .