code: def format_value(handler, item, column):
      
      value = getattr(item, column, None)
      formatter = FORMATTERS.get(type(value), default_formatter)
      return formatter(handler, item, value)
docs: Format value.