code: def get_conda_activate_commands(conda_env_name: str) -> List[str]:
      """
      Get a list of commands to run to silently activate the given conda env.
      """
      #  Checking for newer conda versions
      if not _WIN32 and (
          "CONDA_EXE" in os.environ or RAY_CONDA_HOME in os.environ
      ):
          conda_path = get_conda_bin_executable("conda")
          activate_conda_env = [
              ".",
              f"{os.path.dirname(conda_path)}/../etc/profile.d/conda.sh",
              "&&",
          ]
          activate_conda_env += ["conda", "activate", conda_env_name]
  
      else:
          activate_path = get_conda_bin_executable("activate")
          if not _WIN32:
              # Use bash command syntax
              activate_conda_env = [
                  "source",
                  activate_path,
                  conda_env_name,
              ]
          else:
              activate_conda_env = ["conda", "activate", conda_env_name]
      return activate_conda_env + ["1>&2", "&&"]
  
file_path: ray/python/ray/_private/runtime_env/conda_utils.py
imports: import logging
  import os
  import shutil
  import subprocess
  import hashlib
  import json
  from typing import Optional, List, Union, Tuple
label_desc: Use image node_id 1 for calling a global function with example usage: get_conda_activate_commands(conda_env_name) and returns: unknown