code: def task_with_single_small_return_value_bad():
      small_return_value = 1
      # The value will be stored in the object store
      # and the reference is returned to the caller.
      small_return_value_ref = ray.put(small_return_value)
      return small_return_value_ref
  
file_path: ray/doc/source/ray-core/doc_code/anti_pattern_return_ray_put.py
imports: import ray
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: task_with_single_small_return_value_bad() and returns: small_return_value_ref