def __exit__(self, t, value, traceback):
        self.cls._subclasses = self.cls._all_subclasses
        delattr(self.cls, '_all_subclasses')
        return self.cls
Convert wrappers and subsidiary objects to a YAML-suitable format
dataset/ETHPy150Open MongoEngine/mongoengine/mongoengine/context_managers.py/no_sub_classes.__exit__--crossover with--dataset/ETHPy150Open perseas/Pyrseas/pyrseas/dbobject/foreign.py/ForeignDataWrapper.to_map