parameters: (service, service_name)
return_statement: return service.Client(protocol)
docstring: This function initializes the Thrift client and returns the client objects
    to the API.
docstring_summary: This function initializes the Thrift client and returns the client objects
    to the API.
docstring_tokens: This function initializes the Thrift client and returns the client objects to the API .
function: def create_client(service, service_name):
    '''This function initializes the Thrift client and returns the client objects
    to the API.'''
  
    path = '/' + workspace + '/' + service_name
  
    transport = THttpClient.THttpClient(host, port, path)
    protocol = TJSONProtocol.TJSONProtocol(transport)
  
    return service.Client(protocol)
function_tokens: def create_client ( service , service_name ) : path = '/' + workspace + '/' + service_name transport = THttpClient . THttpClient ( host , port , path ) protocol = TJSONProtocol . TJSONProtocol ( transport ) return service . Client ( protocol )