code: def upload_all(file_contents: List[ray.ObjectRef]) -> None:
      @ray.remote
      def upload_one(contents: str) -> None:
          upload(contents)
  
      children = [upload_one.bind(f) for f in file_contents]
  
      @ray.remote
      def wait_all(*deps) -> None:
          pass
  
      return wait_all.bind(*children)
  
file_path: ray/python/ray/workflow/examples/comparisons/cadence/file_processing_workflow.py
imports: from typing import List
  import ray
  from ray import workflow
label_desc: Use image node_id 4 for calling a global function with example usage: upload_all(file_contents) and returns: wait_all