code: def test_actor_spawn_actor(shutdown_only):
      nested_actor = NestedActor.remote()
      ray.get(
          nested_actor.run_actor_task.remote(
              max_depth=4, spawn_task=False
          )
      )
  
file_path: ray/python/ray/tests/test_nested_task.py
imports: import sys
  import threading
  import pytest
  import ray
label_desc: Use image node_id 2 for calling a global function with example usage: test_actor_spawn_actor(shutdown_only) without return types