code: def Knowledge_kbtype_formatter(view, context, model, name):
      
      value = model.kbtype
      return next((key for key, val in KnwKB.KNWKB_TYPES.items()
                   if val == value), None)
docs: Formatter for the kbtype: return the Knowledge name instead.