code: def get_conda_command(conda_env_name):
      #  Checking for newer conda versions
      if os.name != "nt" and (
          CONDA_EXE in os.environ or MLFLOW_CONDA_HOME.defined
      ):
          conda_path = get_conda_bin_executable("conda")
          activate_conda_env = [
              f"source {os.path.dirname(conda_path)}/../etc/profile.d/conda.sh"
          ]
          activate_conda_env += [
              f"conda activate {conda_env_name} 1>&2"
          ]
      else:
          activate_path = get_conda_bin_executable("activate")
          # in case os name is not 'nt', we are not running on windows. It introduces
          # bash command otherwise.
          if os.name != "nt":
              return [f"source {activate_path} {conda_env_name} 1>&2"]
          else:
              return [f"conda activate {conda_env_name}"]
      return activate_conda_env
  
file_path: mlflow/mlflow/utils/conda.py
imports: import json
  import logging
  import os
  import yaml
  from mlflow.environment_variables import MLFLOW_CONDA_CREATE_ENV_CMD, MLFLOW_CONDA_HOME
  from mlflow.exceptions import ExecutionException
  from mlflow.utils import insecure_hash, process
  from mlflow.utils.environment import Environment
label_desc: Use image node_id 1 for calling a global function with example usage: get_conda_command(conda_env_name) and returns: activate_conda_env, list, list