code: def _init_kind_converter(self):
          
          from ..utils import invert_dict
  
          kinds = self.session.query(Kind).all()
          self._kind_id_to_name = {
              kind.id: kind.name for kind in kinds
          }
          self._kind_name_to_id = invert_dict(self._kind_id_to_name)
docs: Make a dictionary mapping kind ids to the names.