code: def gen_dataset_func() -> Dataset:
      test_datasource = TestDatasource()
      return read_datasource(test_datasource)
  
file_path: ray/python/ray/tune/impl/test_utils.py
imports: from sklearn.datasets import load_breast_cancer
  from ray import tune
  from ray.data import read_datasource, Dataset, Datasource, ReadTask
  from ray.data.block import BlockMetadata
  from ray.tune.impl.utils import execute_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: gen_dataset_func() and returns: read_datasource