code: def test_put_get_with_tls(use_tls):
      run_string_as_driver(
          """
  import ray
  ray.init()
  try:
      for i in range(100):
          value_before = i * 10**6
          object_ref = ray.put(value_before)
          value_after = ray.get(object_ref)
          assert value_before == value_after
  
      for i in range(100):
          value_before = i * 10**6 * 1.0
          object_ref = ray.put(value_before)
          value_after = ray.get(object_ref)
          assert value_before == value_after
  
      for i in range(100):
          value_before = "h" * i
          object_ref = ray.put(value_before)
          value_after = ray.get(object_ref)
          assert value_before == value_after
  
      for i in range(100):
          value_before = [1] * i
          object_ref = ray.put(value_before)
          value_after = ray.get(object_ref)
          assert value_before == value_after
  finally:
      ray.shutdown()
      """,
          env=build_env(),
      )
  
file_path: ray/python/ray/tests/test_tls_auth.py
imports: import logging
  import os
  import sys
  import subprocess
  import pytest
  from ray._private.test_utils import run_string_as_driver
label_desc: Use image node_id 3 for calling a global function with example usage: test_put_get_with_tls(use_tls) without return types