CheckResult.save_as_html#

CheckResult.save_as_html(file: Optional[Union[str, TextIOWrapper]] = None, unique_id: Optional[str] = None, show_additional_outputs: bool = True, as_widget: bool = True, requirejs: bool = True)[source]#

Save output as html file.

Parameters
filefilename or file-like object

The file to write the HTML output to. If None writes to output.html

as_widgetbool, default True

whether to use ipywidgets or not

requirejs: bool , default: True

whether to include requirejs library into output HTML or not

Returns
Optional[str]

name of newly create file