code: def test_text_completion_sync(client):
      text_completion = _create_text_completion(client)
      response = text_completion.complete_sync(prompt="Hello world")
      assert response
      print(response)
  
file_path: h2ogpt/client/tests/test_client.py
imports: import platform
  import pytest
  from h2ogpt_client import Client
label_desc: Use image node_id 3 for calling a global function with example usage: test_text_completion_sync(client) without return types