code: def test_get_edge_data(
      client_with_property_csvs_loaded, pG_with_property_csvs_loaded
  ):
      rpG = RemoteGraph(client_with_property_csvs_loaded, 0)
      pG = pG_with_property_csvs_loaded
  
      ed = rpG.get_edge_data()
      ed[rpG.type_col_name] = ed[rpG.type_col_name].astype("string")
      expected_ed = pG.get_edge_data().fillna(
          0
      )  # FIXME expose na handling
      expected_ed[pG.type_col_name] = expected_ed[
          pG.type_col_name
      ].astype("string")
      for col in expected_ed.columns:
          assert (expected_ed[col] == ed[col]).all()
  
      for _ in range(3):
          edge_ids = random.sample(
              pG.get_edge_data()[
                  pG.edge_id_col_name
              ].values_host.tolist(),
              3,
          )
          ed = rpG.get_edge_data(edge_ids=edge_ids)
          ed[rpG.type_col_name] = ed[rpG.type_col_name].astype("string")
          expected_ed = pG.get_edge_data(edge_ids=edge_ids).fillna(
              0
          )  # FIXME expose na handling
          expected_ed[pG.type_col_name] = expected_ed[
              pG.type_col_name
          ].astype("string")
          for col in expected_ed.columns:
              assert (expected_ed[col] == ed[col]).all()
  
      for edge_types in [
          ["transactions", "relationships"],
          ["referrals"],
      ]:
          ed = rpG.get_edge_data(types=edge_types)
          ed[rpG.type_col_name] = ed[rpG.type_col_name].astype("string")
          expected_ed = pG.get_edge_data(types=edge_types).fillna(
              0
          )  # FIXME expose na handling
          expected_ed[pG.type_col_name] = expected_ed[
              pG.type_col_name
          ].astype("string")
          for col in expected_ed.columns:
              assert (expected_ed[col] == ed[col]).all()
  
      ed = rpG.get_edge_data(
          types=["referrals"], columns=["stars", "merchant_id"]
      )
      ed[rpG.type_col_name] = ed[rpG.type_col_name].astype("string")
      expected_ed = pG.get_edge_data(
          types=["referrals"], columns=["stars", "merchant_id"]
      ).fillna(
          0
      )  # FIXME expose na handling
      expected_ed[pG.type_col_name] = expected_ed[
          pG.type_col_name
      ].astype("string")
      for col in expected_ed.columns:
          assert (expected_ed[col] == ed[col]).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 8 for calling a global function with example usage: test_get_edge_data(client_with_property_csvs_loaded, pG_with_property_csvs_loaded) without return types