code: def test_uniform_neighbor_sampling(
      handler_with_karate_edgelist_loaded,
  ):
      from cugraph_service_client import defaults
  
      (handler, test_data) = handler_with_karate_edgelist_loaded
  
      start_list = [1, 2, 3]
      fanout_vals = [2, 2, 2]
      with_replacement = True
  
      # FIXME: add test coverage for specifying the edge ID as the
      # edge_weight_property, then ensuring the edge ID is returned properly with
      # the uniform_neighbor_sample results.
      # See: https://github.com/rapidsai/cugraph/issues/2654
      extracted_gid = handler.extract_subgraph(
          create_using=None,
          selection=None,
          edge_weight_property=None,
          default_edge_weight=1.0,
          check_multi_edges=True,
          renumber_graph=True,
          add_edge_data=True,
          graph_id=defaults.graph_id,
      )
  
      # Ensure call can be made, assume results verified in other tests
      handler.uniform_neighbor_sample(
          start_list=start_list,
          fanout_vals=fanout_vals,
          with_replacement=with_replacement,
          graph_id=extracted_gid,
          result_host=None,
          result_port=None,
      )
  
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 8 for calling a global function with example usage: test_uniform_neighbor_sampling(handler_with_karate_edgelist_loaded) without return types