Unparse the section
(self)
| 301 | pr_index: dict[int, PrChangelogIndex] = field(default_factory=dict) |
| 302 | |
| 303 | def get_text(self) -> str: |
| 304 | """Unparse the section""" |
| 305 | header = "" |
| 306 | if self.header: |
| 307 | header = "\n".join(self.header) + "\n" |
| 308 | return header + "".join(x.get_text() for x in self.sections) |
| 309 | |
| 310 | def append(self, line: str) -> None: |
| 311 | """Main parsing logic.""" |