class_docstr: Client object for cugraph_service, which defines the API that clients can
  use to access the cugraph_service server.
class_docstr_tok: ["Client","object","for","cugraph_service",",","which","defines","the","API","that","clients","can","use","to","access","the","cugraph_service","server","."]
docstr: Creates a connection to a cugraph_service server running on host/port.
  
  Parameters
  ----------
  host : string, defaults to 127.0.0.1
      Hostname where the cugraph_service server is running
  
  port : int, defaults to 9090
      Port number where the cugraph_service server is listening
  
  Returns
  -------
  CugraphServiceClient object
  
  Examples
  --------
  >>> from cugraph_service_client import CugraphServiceClient
  >>> client = CugraphServiceClient()
docstr_tok: ["Creates","a","connection","to","a","cugraph_service","server","running","on","host\/port",".","Parameters","--","--","--","--","--","host",":","string",",","defaults","to","127.0.0.1","Hostname","where","the","cugraph_service","server","is","running","port",":","int",",","defaults","to","9090","Port","number","where","the","cugraph_service","server","is","listening","Returns","--","--","--","-","CugraphServiceClient","object","Examples","--","--","--","--",">",">",">","from","cugraph_service_client","import","CugraphServiceClient",">",">",">","client","=","CugraphServiceClient","(",")"]
code: def __init__(
      self,
      host=defaults.host,
      port=defaults.port,
      results_port=defaults.results_port,
  ):
      """
      Creates a connection to a cugraph_service server running on host/port.
  
      Parameters
      ----------
      host : string, defaults to 127.0.0.1
          Hostname where the cugraph_service server is running
  
      port : int, defaults to 9090
          Port number where the cugraph_service server is listening
  
      Returns
      -------
      CugraphServiceClient object
  
      Examples
      --------
      >>> from cugraph_service_client import CugraphServiceClient
      >>> client = CugraphServiceClient()
      """
      self.host = host
      self.port = port
      self.results_port = results_port
      self.__client = None
  
      # If True, do not automatically close a server connection upon
      # completion or error of a server API call. This requires the caller to
      # manually call close() when done.
      self.hold_open = False
  
imports: from cugraph_service_client.remote_graph_utils import import_optional, MissingModule
  import numpy
  from functools import wraps
  from collections.abc import Sequence
  import pickle
  import ucp
  import asyncio
  import threading
  from cugraph_service_client import defaults
  from cugraph_service_client.remote_graph import RemoteGraph
  from cugraph_service_client import extension_return_dtype_map
  from cugraph_service_client.types import ValueWrapper, GraphVertexEdgeID, UniformNeighborSampleResult
  from cugraph_service_client.cugraph_service_thrift import create_client
label_desc: Use image node_id 1 to create a new CugraphServiceClient object  with example: obj = CugraphServiceClient(host, port, results_port)