code: def build_oss_path(
      path: path_type, access_key_id, access_key_secret, end_point
  ):
      """
      Returns a path with oss info.
      Used to register the access_key_id, access_key_secret and
      endpoint of OSS. The access_key_id and endpoint are put
      into the url with url-safe-base64 encoding.
  
      Parameters
      ----------
      path : path_type
          The original oss url.
  
      access_key_id : str
          The access key id of oss.
  
      access_key_secret : str
          The access key secret of oss.
  
      end_point : str
          The endpoint of oss.
  
      Returns
      -------
      path_type
          Path include the encoded access key id, end point and
          access key secret of oss.
      """
      if isinstance(path, (list, tuple)):
          path = path[0]
      param_dict = {
          "access_key_id": access_key_id,
          "end_point": end_point,
      }
      id_endpoint = oc.dict_to_url(param_dict)
      password = access_key_secret
      parse_result = parse.urlparse(path)
      new_path = (
          f"{parse_result.scheme}://{id_endpoint}:{password}"
          f"@{parse_result.netloc}{parse_result.path}"
      )
      return new_path
  
imports: from typing import List, Dict, Tuple, Iterator
  from urllib import parse
  from ...utils import implements, lazy_import
  from ._oss_lib import common
  from ._oss_lib.glob import glob
  from ._oss_lib.handle import OSSIOBase
  from .base import FileSystem, path_type
label_desc: Use image node_id 1 for calling a global function with example usage: build_oss_path(path, access_key_id, access_key_secret, end_point) and returns: new_path