Return a flat dictionary of all configuration values.
(self)
| 363 | # -- utilities ------------------------------------------------------------ |
| 364 | |
| 365 | def to_dict(self) -> dict: |
| 366 | """Return a flat dictionary of all configuration values.""" |
| 367 | result = {} |
| 368 | for group_name in _SUB_CONFIG_CLASSES: |
| 369 | result.update(asdict(getattr(self, group_name))) |
| 370 | return result |
| 371 |