code: def test_property_names_attrs(dataset1_MGPropertyGraph):
      """
      Ensure the correct number of user-visible properties for vertices and edges
      are returned. This should exclude the internal bookkeeping properties.
      """
      (pG, data) = dataset1_MGPropertyGraph
  
      # _VERTEX_ columns: "merchant_id", "user_id"
      expected_vert_prop_names = [
          "merchant_location",
          "merchant_size",
          "merchant_sales",
          "merchant_num_employees",
          "user_location",
          "merchant_name",
          "vertical",
      ]
      # _SRC_ and _DST_ columns: "user_id", "user_id_1", "user_id_2"
      # Note that "merchant_id" is a property in for type "transactions"
      expected_edge_prop_names = [
          "merchant_id",
          "volume",
          "time",
          "card_num",
          "card_type",
          "relationship_type",
          "stars",
      ]
  
      # Extracting a subgraph with weights has/had a side-effect of adding a
      # weight column, so call extract_subgraph() to ensure the internal weight
      # column name is not present.
      pG.extract_subgraph(default_edge_weight=1.0)
  
      actual_vert_prop_names = pG.vertex_property_names
      actual_edge_prop_names = pG.edge_property_names
  
      assert sorted(actual_vert_prop_names) == sorted(
          expected_vert_prop_names
      )
      assert sorted(actual_edge_prop_names) == sorted(
          expected_edge_prop_names
      )
  
imports: import gc
  import pytest
  import pandas
  import numpy
  import cudf
  import cugraph
  import dask_cudf
  import cupy
  import cugraph.dask
  from cupy.testing import assert_array_equal
  from cudf.testing import assert_frame_equal, assert_series_equal
  from pylibcugraph.testing.utils import gen_fixture_params_product
  from cugraph.dask.common.mg_utils import is_single_gpu
  from cugraph.datasets import cyber, netscience
label_desc: Use image node_id 14 for calling a global function with example usage: test_property_names_attrs(dataset1_MGPropertyGraph) without return types