code: def udf_copy_edge(edges):
      return {"m": edges.data["e"]}
  
file_path: dgl/tests/python/common/test_heterograph-kernel.py
imports: from itertools import product
  import backend
  import dgl
  import dgl.function
  import networkx
  import numpy
  import pytest
  from utils import get_cases, parametrize_idtype
label_desc: Use image node_id 2 for calling a global function with example usage: udf_copy_edge(edges) and returns: dict