code: def path_to_str(path: List[str]) -> str:
      return "/".join(_remove_empty_paths(path))
  
imports: from typing import List
label_desc: Use image node_id 3 for calling a global function with example usage: path_to_str(path) and returns: str