code: def test_remote_graph_neighbor_sample_implicit_subgraph(
      client_with_property_csvs_loaded, pG_with_property_csvs_loaded
  ):
      # FIXME: consider moving the call dispatcher into cugraph-service-client or
      # cugraph proper. Import it here for now to allow tests to run in an
      # environment without cugraph-pyg.
      from cugraph_pyg.loader.dispatch import call_cugraph_algorithm
  
      rpG = RemoteGraph(client_with_property_csvs_loaded, 0)
      pG = pG_with_property_csvs_loaded
  
      sg = pG.extract_subgraph(
          create_using=cugraph.MultiGraph(directed=True),
          renumber_graph=True,
      )
  
      res_local = call_cugraph_algorithm(
          "uniform_neighbor_sample",
          sg,
          [89021, 89216],
          [10],
          with_replacement=True,
          backend="cudf",
      )
      res_remote = call_cugraph_algorithm(
          "uniform_neighbor_sample",
          rpG,
          [89021, 89216],
          [10],
          with_replacement=True,
          backend="cudf",
      )
  
      assert (res_local["sources"] == res_remote["sources"]).all()
      assert (
          res_local["destinations"] == res_remote["destinations"]
      ).all()
      assert (res_local["indices"] == res_remote["indices"]).all()
  
imports: import importlib
  import random
  import pytest
  import pandas
  import numpy
  import cupy
  import cudf
  import cugraph
  from cugraph.experimental import PropertyGraph
  from cugraph_service_client import RemoteGraph
  from .None import data
label_desc: Use image node_id 19 for calling a global function with example usage: test_remote_graph_neighbor_sample_implicit_subgraph(client_with_property_csvs_loaded, pG_with_property_csvs_loaded) without return types