mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 13:38:12 +02:00
made some entries to the dataset default to ""
This commit is contained in:
@ -5,7 +5,7 @@ import json
|
|||||||
@dataclass
|
@dataclass
|
||||||
class FileData:
|
class FileData:
|
||||||
path: str
|
path: str
|
||||||
content: str # Not sure about this, maybe we should just keep the path and extract the contents dynamically (boh)
|
content: str = "" # Not sure about this, maybe we should just keep the path and extract the contents dynamically (boh)
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class Metadata:
|
class Metadata:
|
||||||
@ -13,8 +13,8 @@ class Metadata:
|
|||||||
pr_number: int
|
pr_number: int
|
||||||
merge_commit_sha: str # to checkout for the tests
|
merge_commit_sha: str # to checkout for the tests
|
||||||
successful: bool
|
successful: bool
|
||||||
reason_for_failure: str
|
reason_for_failure: str = ""
|
||||||
last_cmd_error_msg: str
|
last_cmd_error_msg: str = ""
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class DatasetEntry:
|
class DatasetEntry:
|
||||||
|
Reference in New Issue
Block a user