code: def test_get_graph_info(handler_with_karate_edgelist_loaded):
      """
      get_graph_info() for specific args.
      """
      from cugraph_service_client import defaults
  
      (handler, test_data) = handler_with_karate_edgelist_loaded
  
      # A common use of get_graph_info() is to get the "shape" of the data,
      # meaning the number of vertices/edges by the number of properites per
      # edge/vertex.
      info = handler.get_graph_info(
          ["num_edges", "num_edge_properties"], defaults.graph_id
      )
      # info is a dictionary containing cugraph_service_client.types.ValueWrapper
      # objs, so access the int32 member directly for easy comparison.
      shape = (
          info["num_edges"].get_py_obj(),
          info["num_edge_properties"].get_py_obj(),
      )
      assert shape == (156, 1)  # The single edge property is the weight
  
      info = handler.get_graph_info(
          ["num_vertices_from_vertex_data", "num_vertex_properties"],
          defaults.graph_id,
      )
      shape = (
          info["num_vertices_from_vertex_data"].get_py_obj(),
          info["num_vertex_properties"].get_py_obj(),
      )
      assert shape == (0, 0)
  
file_path: cugraph/python/cugraph-service/tests/test_mg_cugraph_handler.py
imports: import os
  from pathlib import Path
  import pickle
  import pytest
  from .None import data
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_graph_info(handler_with_karate_edgelist_loaded) without return types