code: def test_get_num_edges_nondefault_graph(
      client_with_edgelist_csv_loaded,
  ):
      from cugraph_service_client.exceptions import CugraphServiceError
  
      (client, test_data) = client_with_edgelist_csv_loaded
      # Bad graph ID
      with pytest.raises(CugraphServiceError):
          client.get_graph_info("num_edges", graph_id=9999)
  
      new_graph_id = client.create_graph()
      client.load_csv_as_edge_data(
          test_data["csv_file_name"],
          dtypes=test_data["dtypes"],
          vertex_col_names=["0", "1"],
          type_name="",
          graph_id=new_graph_id,
      )
  
      assert (
          client.get_graph_info("num_edges") == test_data["num_edges"]
      )
      assert (
          client.get_graph_info("num_edges", graph_id=new_graph_id)
          == test_data["num_edges"]
      )
  
imports: from collections.abc import Sequence
  from pathlib import Path
  import pytest
  from .None import data
label_desc: Use image node_id 7 for calling a global function with example usage: test_get_num_edges_nondefault_graph(client_with_edgelist_csv_loaded) without return types