class_docstr: Reads a unischema based mock dataset.
class_docstr_tok: ["Reads","a","unischema","based","mock","dataset","."]
docstr: Generates the mock dataset based on the schema.
  
  :return: named tuple data according to schema.
docstr_tok: ["Generates","the","mock","dataset","based","on","the","schema",".",":","return",":","named","tuple","data","according","to","schema","."]
code: def fetch(self):
      """
      Generates the mock dataset based on the schema.
  
      :return: named tuple data according to schema.
      """
      fields_as_dict = self.schema_data_generator(self.schema)
      return self.schema.make_namedtuple(**fields_as_dict)
  
file_path: petastorm/petastorm/test_util/reader_mock.py
imports: from decimal import Decimal
  import numpy
label_desc: Use image node_id 2 for calling the ReaderMock obj's underlying member method code with example usage: obj.fetch() and returns: self