| 36 | |
| 37 | @dataclasses.dataclass(frozen=False) |
| 38 | class Commit: |
| 39 | commit_hash: str |
| 40 | category: str |
| 41 | topic: str |
| 42 | title: str |
| 43 | files_changed: str |
| 44 | pr_link: str |
| 45 | author: str |
| 46 | |
| 47 | # This is not a list so that it is easier to put in a spreadsheet |
| 48 | accepter_1: str |
| 49 | accepter_2: str |
| 50 | accepter_3: str |
| 51 | |
| 52 | merge_into: str = None |
| 53 | |
| 54 | def __repr__(self): |
| 55 | return ( |
| 56 | f"Commit({self.commit_hash}, {self.category}, {self.topic}, {self.title})" |
| 57 | ) |
| 58 | |
| 59 | |
| 60 | commit_fields = tuple(f.name for f in dataclasses.fields(Commit)) |
no outgoing calls
no test coverage detected
searching dependent graphs…