code: def test_put_api(ray_start_regular):
      for obj in test_values:
          assert ray.get(ray.put(obj)) == obj
  
      # Test putting object refs.
      x_id = ray.put(0)
      for obj in [[x_id], (x_id,), {x_id: x_id}]:
          assert ray.get(ray.put(obj)) == obj
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_put_api(ray_start_regular) without return types