code: def data_generator(request):
      """
      Generates a random integer matrix with values in `range(1, 10)`.
      """
  
      n_rows, n_columns = request.param
      return np.random.randint(1, 10, size=(n_rows, n_columns))
  
imports: import inspect
  import os
  import pytest
  import time
  from itertools import product
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  from alibi.utils.distributed import DistributedExplainer, PoolCollection, ResourceError, invert_permutation, concatenate_minibatches
label_desc: Use image node_id 1 for calling a global function with example usage: data_generator(request) and returns: np