code: def test_dynamic_workflow_ref(workflow_start_regular_shared):
      @ray.remote
      def incr(x):
          return x + 1
  
      # This test also shows different "style" of running workflows.
      assert (
          workflow.run(
              incr.bind(0), workflow_id="test_dynamic_workflow_ref"
          )
          == 1
      )
      # Without rerun, it'll just return the previous result
      assert (
          workflow.run(
              incr.bind(WorkflowRef("incr")),
              workflow_id="test_dynamic_workflow_ref",
          )
          == 1
      )
  
imports: from ray.tests.conftest import *
  import pytest
  import ray
  from ray import workflow
  from ray.workflow.common import WorkflowRef
label_desc: Use image node_id 1 for calling a global function with example usage: test_dynamic_workflow_ref(workflow_start_regular_shared) and returns: unknown