code: def dict_product(m: Dict[Any, Any]) -> Iterable[Dict[Any, Any]]:
      """Returns a dictionary generated by taking the cartesian product of each
      list-typed value iterable with all others.
  
      The iterable of dictionaries returned represents every combination of values.
  
      If any value is NOT a list it will be treated as a singleton list.
  
      """
  
      def wrap_v(v):
          return v if isinstance(v, list) else [v]
  
      ks = m.keys()
      vs = (wrap_v(v) for v in m.values())
      return (dict(zip(ks, x)) for x in it.product(*vs))
  
imports: import getpass
  import itertools
  import os
  import platform
  import sys
  from enum import Enum
  from typing import Any, Callable, Dict, Iterable, List, NamedTuple, Optional, Set, Tuple, Union
  from blessings import Terminal
  from pkg_resources import resource_filename
label_desc: Use image node_id 8 for calling a global function with example usage: dict_product(m) and returns: unknown, unknown