Export result object to dictionary, with less verbose key names.
(self)
| 174 | return cls(**kwargs) |
| 175 | |
| 176 | def todict(self) -> dict: |
| 177 | """Export result object to dictionary, with less verbose key names.""" |
| 178 | return {key: getattr(self, attr) for attr, key in self._export_mapping.items()} |
| 179 | |
| 180 | |
| 181 | class ResultCollection: |