code: def create_SGGraph(
      device_srcs, device_dsts, device_weights, transposed=False
  ):
      """
      Creates and returns a SGGraph instance and the corresponding ResourceHandle
      using the parameters passed in.
      """
      from pylibcugraph import (
          SGGraph,
          ResourceHandle,
          GraphProperties,
      )
  
      resource_handle = ResourceHandle()
      graph_props = GraphProperties(
          is_symmetric=False, is_multigraph=False
      )
  
      g = SGGraph(
          resource_handle=resource_handle,
          graph_properties=graph_props,
          src_or_offset_array=device_srcs,
          dst_or_index_array=device_dsts,
          weight_array=device_weights,
          store_transposed=transposed,
          renumber=False,
          do_expensive_check=False,
      )
  
      # FIXME: add coverage for renumber=True and do_expensive_check=True
  
      return (g, resource_handle)
  
file_path: cugraph/python/pylibcugraph/pylibcugraph/tests/conftest.py
imports: import pandas
  import cupy
  import numpy
  import pytest
  from pylibcugraph.testing import utils
label_desc: Use image node_id 2 for calling a global function with example usage: create_SGGraph(device_srcs, device_dsts, device_weights, transposed) and returns: g,  resource_handle