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","."]
code: def __get_vertex_edge_id_obj(id_or_ids):
      # Force np.ndarray
      if not isinstance(id_or_ids, (int, Sequence, np.ndarray)):
          if cupy_installed and isinstance(id_or_ids, cp.ndarray):
              id_or_ids = id_or_ids.get()
          elif cudf_installed and isinstance(id_or_ids, cudf.Series):
              id_or_ids = id_or_ids.values_host
          elif pandas_installed and isinstance(
              id_or_ids, pandas.Series
          ):
              id_or_ids = id_or_ids.to_numpy()
          else:
              raise ValueError(
                  f"No available module for processing {type(id_or_ids)}"
              )
  
      if isinstance(id_or_ids, Sequence):
          vert_edge_id_obj = GraphVertexEdgeID(int64_ids=id_or_ids)
      elif isinstance(id_or_ids, np.ndarray):
          if id_or_ids.dtype == "int32":
              vert_edge_id_obj = GraphVertexEdgeID(int32_ids=id_or_ids)
          elif id_or_ids.dtype == "int64":
              vert_edge_id_obj = GraphVertexEdgeID(int64_ids=id_or_ids)
      else:
          vert_edge_id_obj = GraphVertexEdgeID(int64_id=id_or_ids)
      return vert_edge_id_obj
  
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 42 for calling the CugraphServiceClient obj's underlying member method code with example usage: obj.__get_vertex_edge_id_obj(id_or_ids) and returns: vert_edge_id_obj