code: def init():
      ray.init(num_cpus=4)
      get_or_create_event_loop().set_debug(False)
      yield
      ray.shutdown()
  
imports: import asyncio
  import concurrent.futures
  import sys
  import time
  import numpy
  import pytest
  import ray
  from ray._private.async_compat import is_async_func
  from ray._private.test_utils import wait_for_condition
  from ray._private.utils import get_or_create_event_loop, run_background_task, background_tasks
label_desc: Use image node_id 1 for calling a global function with example usage: init() without return types