code: def data_indexer(request, data_type):
      """Returns an in-memory DataIndexer instance with example data."""
      data_indexer = DataIndexer(data_type, backend=request.param)
      yield data_indexer
      data_indexer.clean()
  
file_path: AmpliGraph/tests/ampligraph/datasets/test_data_indexer.py
imports: from ampligraph.datasets.data_indexer import DataIndexer
  import numpy
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: data_indexer(request, data_type) without return types