ValidationResult¶
- class ValidationResult(board_name: str = '', paths: int = 0, error_count: int = 0, warning_count: int = 0, issue_count: int = 0, success_count: int = 0, total_count: int = 0, board_configuration: CheckResult = <factory>, consistency: CheckResult = <factory>, icon: CheckResult = <factory>, max_paths: CheckResult = <factory>, music_download: CheckResult = <factory>, naming: CheckResult = <factory>, screenshots: CheckResult = <factory>, venture: CheckResult = <factory>, yaml: CheckResult = <factory>, error_messages: list[str] = <factory>, informational_messages: list[str] = <factory>, warning_messages: list[str] = <factory>)¶
Bases:
objectA dataclass representing results from multiple validation checks on a single board.
This object is sometimes attached to a ValidationResultBundle object, in the case that the task is returning information about checks for multiple boards. If we are checking only one board, though, we will return this result alone. This object contains the board name, the number of max paths, error, warning, success and other check counts, full CheckResult objects representing the results of each test performed, and three lists containing an aggregate of all the checks’ errors, warnings, or informational messages.
Methods
Attributes
board_nameerror_countissue_countpathssuccess_counttotal_countwarning_countboard_configurationconsistencyiconmax_pathsmusic_downloadnamingscreenshotsventureyamlerror_messagesinformational_messageswarning_messages