code: def load_environment(environment_name: str) -> Dict[str, str]:
      file_base = f"{environment_name}.env"
      env_file = bazel_runfile(
          "release/ray_release/environments", file_base
      )
      if not env_file or not os.path.isfile(env_file):
          raise ReleaseTestConfigError(
              f"Unknown environment with name: {environment_name}"
          )
  
      env = {}
      with open(env_file, "r") as f:
          for line in f.readlines():
              if not line:
                  continue
              key, val = line.strip().split("=", maxsplit=1)
              env[key] = val.strip('"')
  
      return env
  
imports: import os
  from typing import Dict
  from ray_release.bazel import bazel_runfile
  from ray_release.exception import ReleaseTestConfigError
label_desc: Use image node_id 1 for calling a global function with example usage: load_environment(environment_name) and returns: env