CheckResult#
- class CheckResult[source]#
Class which returns from a check with result that can later be used for automatic pipelines and display value.
Class containing the result of a check
The class stores the results and display of the check. Evaluating the result in an IPython console / notebook will show the result display output.
- Parameters
- valueAny
Value calculated by check. Can be used to decide if decidable check passed.
- displayList[Union[Callable, str, pd.DataFrame, Styler, BaseFigure]] , default: None
Dictionary with formatters for display. possible formatters are: ‘text/html’, ‘image/png’
- headerstr , default: None
Header to be displayed in python notebook.
- __init__(value, header: Optional[str] = None, display: Optional[List[Union[str, DataFrame, Styler, BaseFigure, Callable[[], None], DisplayMap]]] = None)[source]#
- __new__(*args, **kwargs)#
Attributes
Return HtmlSerializer instance. |
|
Return IPythonSerializer instance. |
|
Return priority of the current result. |
|
Return WidgetSerializer instance. |
|
Methods
|
Display the check result or return the display as widget. |
|
Convert a json object that was returned from CheckResult.to_json or CheckFailure.to_json. |
|
Return check id (used for href). |
Return header for display. |
|
|
Return the related check metadata. |
Return if this check has condition results. |
|
Return if this check has display. |
|
|
Return if this check has no passing condition results. |
Process the conditions results from current result and check. |
|
Return the check result as a reduced dict. |
|
|
Save a result to an HTML file. |
|
Display the check result. |
|
Display result in an iframe. |
|
Display result in a separate window. |
|
Display the not interactive version of result output. |
|
Serialize result into a json string. |
|
Send result to wandb. |
|
Return CheckResult as a ipywidgets.Widget instance. |