Return values for iteration
(self)
| 101 | return sorted(self.stats.items(), key=lambda x: x[1].total_size, reverse=True) |
| 102 | |
| 103 | def values(self) -> list[TypeBreakdown]: |
| 104 | """Return values for iteration""" |
| 105 | return list(self.stats.values()) |
| 106 | |
| 107 | def __getitem__(self, key: str) -> TypeBreakdown: |
| 108 | """Allow dictionary-style access""" |