class_docstr: A data source which actually loads data from a location. This data source
  needs to be responsible for converting types based on a schema, because it should
  be the only part of the system that actually needs to understand details about
  the underlying storage system.
  
  RootDataSource presents a simpler abstraction than DataSource where the rows
  are automatically converted to the right DataTypes.
  
  A RootDataSource should implement `raw_train_data_generator`,
  `raw_test_data_generator`, and `raw_eval_data_generator`. These functions
  should yield dictionaries of raw objects which the loading system can
  convert using the schema loading functions.
class_docstr_tok: ["A","data","source","which","actually","loads","data","from","a","location",".","This","data","source","needs","to","be","responsible","for","converting","types","based","on","a","schema",",","because","it","should","be","the","only","part","of","the","system","that","actually","needs","to","understand","details","about","the","underlying","storage","system",".","RootDataSource","presents","a","simpler","abstraction","than","DataSource","where","the","rows","are","automatically","converted","to","the","right","DataTypes",".","A","RootDataSource","should","implement","`","raw_train_data_generator","`",",","`","raw_test_data_generator","`",",","and","`","raw_eval_data_generator","`",".","These","functions","should","yield","dictionaries","of","raw","objects","which","the","loading","system","can","convert","using","the","schema","loading","functions","."]
code: def test(self):
      return self._convert_raw_source(self.raw_test_data_generator())
  
imports: import json
  import logging
  import re
  from typing import Any, Dict, List, Type, TypeVar
  from pytext.config.component import Component, ComponentType
  from pytext.data.utils import shard
  from pytext.utils.data import parse_slot_string, Slot
  from pytext.utils.file_io import PathManager
label_desc: Use image node_id 10 for calling the RootDataSource obj's underlying member method code with example usage: obj.test() and returns: self