code: def expand_env_var_in_values(d: t.MutableMapping[str, t.Any]) -> None:
      for k, v in d.items():
          if isinstance(v, t.MutableMapping):
              expand_env_var_in_values(v)
          elif isinstance(v, str):
              d[k] = expand_env_var(v)
          elif isinstance(v, t.Sequence):
              d[k] = [expand_env_var(i) for i in v]
  
imports: from __future__ import annotations
  import ipaddress
  import logging
  import os
  import re
  import typing
  from functools import singledispatch
  from typing import TYPE_CHECKING
  import schema
  import yaml
  from ...exceptions import BentoMLConfigException
  from ..utils import LazyLoader
label_desc: Use image node_id 15 for calling a global function with example usage: expand_env_var_in_values(d) without return types