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