code: def test_dag_with_alive_actors_chained(shared_ray_instance):
      """Verify we can have multiple DAGs to the
      same actor that are chained.
      """
  
      @ray.remote
      class Actor:
          def __init__(self, init_value):
              self.i = init_value
  
          def add(self, x):
              return self.i + x
  
      @ray.remote
      def combine(x, y):
          return x + y
  
      a1 = Actor.remote(10)
      a1_dag = a1.add.bind(a1.add.bind(2))  # 22
      a1_dag_2 = a1.add.bind(a1.add.bind(6))  # 26
      dag = combine.bind(a1_dag, a1_dag_2)
  
      assert ray.get(dag.execute()) == 48
  
file_path: ray/python/ray/dag/tests/test_output_node.py
imports: import pytest
  import ray
  from ray.dag.input_node import InputNode
  from ray.dag.output_node import MultiOutputNode
  from ray.util.state import list_tasks
  from ray._private.test_utils import wait_for_condition
label_desc: Use image node_id 3 for calling a global function with example usage: test_dag_with_alive_actors_chained(shared_ray_instance) and returns: unknown, unknown