code: def _get_conda_env_name(
      conda_env_path, env_id=None, env_root_dir=None
  ):
      if conda_env_path:
          with open(conda_env_path) as f:
              conda_env_contents = f.read()
      else:
          conda_env_contents = ""
  
      if env_id:
          conda_env_contents += env_id
  
      env_name = (
          "mlflow-%s"
          % insecure_hash.sha1(
              conda_env_contents.encode("utf-8")
          ).hexdigest()
      )
      if env_root_dir:
          env_root_dir = os.path.normpath(env_root_dir)
          # Generate env name with format "mlflow-{conda_env_contents_hash}-{env_root_dir_hash}"
          # hashing `conda_env_contents` and `env_root_dir` separately helps debugging
          env_name += (
              "-%s"
              % insecure_hash.sha1(
                  env_root_dir.encode("utf-8")
              ).hexdigest()
          )
  
      return env_name
  
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 3 for calling a global function with example usage: _get_conda_env_name(conda_env_path, env_id, env_root_dir) and returns: env_name