code: def set_environment_variables(
      config: Dict[Any, Any], environment_variables: List[str]
  ) -> Dict[Any, Any]:
      config = config.copy()
      config["environment"][
          "environment_variables"
      ] = environment_variables
      return config
  
imports: import os
  from pathlib import Path
  from typing import Any, Dict, List, Union
  from determined.common import api, util
  from determined.common.api import authentication
label_desc: Use image node_id 29 for calling a global function with example usage: set_environment_variables(config, environment_variables) and returns: config