code: def gen_dataset_2():
      return ray.data.range(1000)
  
file_path: ray/python/ray/workflow/tests/test_dataset.py
imports: from ray.tests.conftest import *
  import pytest
  import ray
  from ray import workflow
label_desc: Use image node_id 3 for calling a global function with example usage: gen_dataset_2() and returns: ray