code: def _key_value_pair(
      key: any, value: any, style: StyleCode = Text.meta
  ):
      f = _format_value(value)
      if f is None:
          f = str(value)
      return [(f"{str(key)}: ", Text.subtle), (f, style)]
  
imports: import collections
  import math
  from typing import TYPE_CHECKING, List, Tuple
  from labml.internal.util.colors import StyleCode
  from ....logger import Text
label_desc: Use image node_id 6 for calling a global function with example usage: _key_value_pair(key, value, style) and returns: list