code: def join_cloud_storage_paths(*paths: str):
      paths = list(paths)
      if len(paths) > 1:
          for i in range(1, len(paths)):
              while paths[i][0] == "/":
                  paths[i] = paths[i][1:]
      joined_path = os.path.join(*paths)
      while joined_path[-1] == "/":
          joined_path = joined_path[:-1]
      return joined_path
  
imports: import collections
  import hashlib
  import json
  import os
  import random
  import string
  import subprocess
  import time
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple
  import requests
  from ray_release.logger import logger
label_desc: Use image node_id 18 for calling a global function with example usage: join_cloud_storage_paths() and returns: joined_path