(self, instance_dict)
| 53 | return self._traverse_dict(self.__dict__) |
| 54 | |
| 55 | def _traverse_dict(self, instance_dict): |
| 56 | output = {} |
| 57 | for key, value in instance_dict.items(): |
| 58 | output[key] = self._traverse(key, value) |
| 59 | return output |
| 60 | |
| 61 | def _traverse(self, key, value): |
| 62 | if isinstance(value, ToDictMixin): |