code: def test_inside_asyncio_event_loop(
      client_of_sg_server_on_device_1_large_property_graph_loaded,
      result_device_id,
  ):
      import asyncio
  
      (
          client,
          graph_id,
      ) = client_of_sg_server_on_device_1_large_property_graph_loaded
  
      start_list = [1, 2, 3]
      fanout_vals = [2, 2, 2]
      with_replacement = True
  
      async def uns():
          return client.uniform_neighbor_sample(
              start_list=start_list,
              fanout_vals=fanout_vals,
              with_replacement=with_replacement,
              graph_id=graph_id,
              result_device=result_device_id,
          )
  
      # ensure call succeeds; have confirmed this fails without fix in client
      assert asyncio.run(uns()) is not None
  
imports: import os
  from pathlib import Path
  import pytest
  import cupy
  from cugraph_service_server.testing import utils
  from .None import data
label_desc: Use image node_id 17 for calling a global function with example usage: test_inside_asyncio_event_loop(client_of_sg_server_on_device_1_large_property_graph_loaded, result_device_id) and returns: client