code: def conda_dependencies_validator(
      _: t.Any, __: Attribute[DependencyType], value: DependencyType
  ) -> None:
      if not isinstance(value, list):
          raise InvalidArgument(
              f"Expected 'conda.dependencies' to be a list of dependencies, got a '{type(value)}' instead."
          )
      else:
          conda_pip: list[CondaPipType] = [
              x for x in value if isinstance(x, dict)
          ]
          if len(conda_pip) > 0:
              if len(conda_pip) > 1 or "pip" not in conda_pip[0]:
                  raise InvalidArgument(
                      "Expected dictionary under `conda.dependencies` to ONLY have key `pip`"
                  )
              pip_list: list[str] = conda_pip[0]["pip"]
              if not all(isinstance(x, str) for x in pip_list):
                  not_type_string = list(
                      map(
                          lambda x: str(type(x)),
                          filter(
                              lambda x: not isinstance(x, str), pip_list
                          ),
                      )
                  )
                  raise InvalidArgument(
                      f"Expected 'conda.pip' values to be strings, got {not_type_string}"
                  )
  
imports: from __future__ import annotations
  import logging
  import os
  import re
  import subprocess
  import sys
  import typing
  from shlex import quote
  from sys import version_info
  import attr
  import fs
  import fs.copy
  import psutil
  import yaml
  from pathspec import PathSpec
  from ...exceptions import BentoMLException
  from ...exceptions import InvalidArgument
  from ..configuration import BENTOML_VERSION
  from ..configuration import clean_bentoml_version
  from ..configuration import get_quiet_mode
  from ..container import generate_containerfile
  from ..container.frontend.dockerfile import ALLOWED_CUDA_VERSION_ARGS
  from ..container.frontend.dockerfile import CONTAINER_SUPPORTED_DISTROS
  from ..container.frontend.dockerfile import SUPPORTED_CUDA_VERSIONS
  from ..container.frontend.dockerfile import DistroSpec
  from ..container.frontend.dockerfile import get_supported_spec
  from ..container.generate import BENTO_PATH
  from ..utils import bentoml_cattr
  from ..utils import copy_file_to_fs_folder
  from ..utils import resolve_user_filepath
  from ..utils.dotenv import parse_dotenv
  from .build_dev_bentoml_whl import build_bentoml_editable_wheel
label_desc: Use image node_id 4 for calling a global function with example usage: conda_dependencies_validator(_, __, value) without return types