code: def task_with_single_small_return_value_good():
      small_return_value = 1
      # Ray will return the value inline to the caller
      # which is faster than the previous approach.
      return small_return_value
  
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 2 for calling a global function with example usage: task_with_single_small_return_value_good() and returns: small_return_value