mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-04 21:28:12 +02:00
changed the structure of the entries
This commit is contained in:
@ -18,18 +18,13 @@ class Metadata:
|
||||
reason_for_failure: str = ""
|
||||
last_cmd_error_msg: str = ""
|
||||
|
||||
@dataclass
|
||||
class Diff:
|
||||
filename: str
|
||||
patch: str
|
||||
|
||||
@dataclass
|
||||
class DatasetEntry:
|
||||
metadata: Metadata
|
||||
files: Dict[str, FileData] # filename -> file data, files before the PR (before the first PR commits)
|
||||
diffs_before: Dict[str, Diff] # filename -> diff, diffs between the opening of the PR and the comment
|
||||
diffs_before: Dict[str, str] # filename -> diff, diffs between the opening of the PR and the comment
|
||||
comment: str
|
||||
diffs_after: Dict[str, Diff] # filename -> diff, changes after the comment
|
||||
diffs_after: Dict[str, str] # filename -> diff, changes after the comment
|
||||
|
||||
@dataclass
|
||||
class Dataset:
|
||||
|
Reference in New Issue
Block a user