code: def __init__(
      self, indices, batch_dims=1, data=[], check_flow_args=False
  ):
      self.indices = indices
      self.batch_dims = batch_dims
      self.data = data
      self.check_flow_args = check_flow_args
  
file_path: stellargraph/tests/mapper/test_corrupted.py
imports: import pytest
  import numpy
  from stellargraph.mapper import *
  from ..test_utils.graphs import example_graph_random
label_desc: Use image node_id 1 to create a new DummyGenerator object from inherited base classes: Generator with example: obj = DummyGenerator(indices, batch_dims, data, check_flow_args)