@classmethod
  def to_dict(cls):
    return dict((item.name, item.number) for item in iter(cls))
Overridden save() method to compute treepath and full names
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/messages.py/Enum.to_dict--crossover with--dataset/ETHPy150Open treeio/treeio/treeio/knowledge/models.py/KnowledgeFolder.save