code: def edge_graph_partitioner(request, data, k):
      partitioner_cls = request.param
      partitioner = partitioner_cls(data, k)
      yield partitioner, data, k
      partitioner.clean()
  
imports: import pytest
  from ampligraph.datasets.graph_partitioner import AbstractGraphPartitioner, RandomVerticesGraphPartitioner, RandomEdgesGraphPartitioner, SortedEdgesGraphPartitioner, NaiveGraphPartitioner, DoubleSortedEdgesGraphPartitioner, get_number_of_partitions, PARTITION_ALGO_REGISTRY, GraphDataLoader
  import numpy
  import pandas
  from scipy import special
  from itertools import permutations
  import os
label_desc: Use image node_id 6 for calling a global function with example usage: edge_graph_partitioner(request, data, k) without return types