code: def _format_entry(indent, entry):
      color = ""
      indent = " " * indent
      if entry.typechanged:
          color = COLOR_TYPECHANGED  # red
      elif entry.added:
          color = COLOR_ADDED  # green
      elif entry.modified:
          color = COLOR_MODIFIED  # blue
      if entry.key == "__doc__":
          color = COLOR_DOC  # grey
          doc_string = entry.value.replace("\n", "\n" + indent)
          assign = '{}"""{}"""'.format(indent, doc_string)
      elif isinstance(entry, ConfigEntry):
          assign = (
              indent + entry.key + " = " + PRINTER.pformat(entry.value)
          )
      else:  # isinstance(entry, PathEntry):
          assign = indent + entry.key + ":"
      if entry.doc:
          doc_string = COLOR_DOC + "# " + entry.doc + ENDC
          if len(assign) <= 35:
              assign = "{:<35}  {}".format(assign, doc_string)
          else:
              assign += "    " + doc_string
      end = ENDC if color else ""
      return color + assign + end
  
file_path: sacred/sacred/commands.py
imports: import copy
  import pprint
  import pydoc
  import re
  from collections import namedtuple, OrderedDict
  from colorama import Fore, Style
  from sacred.config import save_config_file
  from sacred.serializer import flatten
  from sacred.utils import PATHCHANGE, iterate_flattened_separately
label_desc: Use image node_id 9 for calling a global function with example usage: _format_entry(indent, entry) and returns: unknown