<commit_before>-- greeter_client.lua

-- Current work dir: grpc-lua/examples/helloworld
package.path = "../../src/lua/?.lua;" .. package.path

local grpc = require("grpc_lua")

function main()
	grpc.import_proto_file("helloworld.proto")

	local ch = grpc.Channel("localhost:50051")
	local stub = grpc.ServiceStub(ch)
	stub:set_service_name("helloworld.Greeter")

	-- Blocking request.
	local request = { name = "world" }
	local response = stub:request("SayHello", request)
	print("Greeter received: " .. response.message)
	
	-- Async request.
	stub:async_request("SayHello", request, function(response)
		print("Async greeter received: " .. response.message)
	end)
	stub:blocking_run()
end  -- main()

main()<commit_msg>Convert tab to space.<commit_after>-- greeter_client.lua

-- Current work dir: grpc-lua/examples/helloworld
package.path = "../../src/lua/?.lua;" .. package.path

local grpc = require("grpc_lua")

function main()
    grpc.import_proto_file("helloworld.proto")

    local ch = grpc.Channel("localhost:50051")
    local stub = grpc.ServiceStub(ch)
    stub:set_service_name("helloworld.Greeter")

    -- Blocking request.
    local request = { name = "world" }
    local response = stub:request("SayHello", request)
    print("Greeter received: " .. response.message)
    
    -- Async request.
    stub:async_request("SayHello", request, function(response)
        print("Async greeter received: " .. response.message)
    end)
    stub:blocking_run()
end  -- main()

main()
{'fraction_non_alphanumeric': 0.1520428667113195, 'fraction_numerical': 0.006697923643670462, 'mean_word_length': 3.8506493506493507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4923763', 'n_tokens_mistral': 496, 'n_tokens_neox': 487, 'n_words': 100}