code: def test_dataset_2(workflow_start_regular_shared):
      ds_ref = gen_dataset_2.bind()
      transformed_ref = transform_dataset_1.bind(ds_ref)
      output_ref = sum_dataset.bind(transformed_ref)
  
      result = workflow.run(output_ref)
      assert result == 2 * sum(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 9 for calling a global function with example usage: test_dataset_2(workflow_start_regular_shared) without return types