code: def consume_func(data):
      return len(data)
  
file_path: ray/doc/source/ray-core/doc_code/scheduling.py
imports: import ray
label_desc: Use image node_id 6 for calling a global function with example usage: consume_func(data) and returns: len