class_docstr: Contain the results of a suite run.
  
  Parameters
  ----------
  name: str
  results: List[BaseCheckResult]
  extra_info: Optional[List[str]]
class_docstr_tok: ["Contain","the","results","of","a","suite","run",".","Parameters","--","--","--","--","--","name",":","str","results",":","List","[","BaseCheckResult","]","extra_info",":","Optional","[","List","[","str","]","]"]
docstr: Save output as html file.
  
  Parameters
  ----------
  file : filename or file-like object
      The file to write the HTML output to. If None writes to output.html
  as_widget : bool, default True
      whether to use ipywidgets or not
  requirejs: bool , default: True
      whether to include requirejs library into output HTML or not
  unique_id : Optional[str], default None
      unique identifier of the result output
  connected: bool , default False
      indicates whether internet connection is available or not,
      if 'True' then CDN urls will be used to load javascript otherwise
      javascript libraries will be injected directly into HTML output.
      Set to 'False' to make results viewing possible when the internet
      connection is not available.
  
  Returns
  -------
  Optional[str] :
      name of newly create file
code: def save_as_html(
      self,
      file: Union[str, io.TextIOWrapper, None] = None,
      as_widget: bool = True,
      requirejs: bool = True,
      unique_id: Optional[str] = None,
      connected: bool = False,
      **kwargs,
  ):
      """Save output as html file.
  
      Parameters
      ----------
      file : filename or file-like object
          The file to write the HTML output to. If None writes to output.html
      as_widget : bool, default True
          whether to use ipywidgets or not
      requirejs: bool , default: True
          whether to include requirejs library into output HTML or not
      unique_id : Optional[str], default None
          unique identifier of the result output
      connected: bool , default False
          indicates whether internet connection is available or not,
          if 'True' then CDN urls will be used to load javascript otherwise
          javascript libraries will be injected directly into HTML output.
          Set to 'False' to make results viewing possible when the internet
          connection is not available.
  
      Returns
      -------
      Optional[str] :
          name of newly create file
      """
      return save_as_html(
          file=file,
          serializer=self.widget_serializer
          if as_widget
          else self.html_serializer,
          connected=connected,
          # next kwargs will be passed to the serializer.serialize method
          requirejs=requirejs,
          output_id=unique_id or get_random_string(n=25),
      )
  
imports: import abc
  import io
  import json
  import pathlib
  import warnings
  from collections import OrderedDict
  from typing import Any, Dict, List, Optional, Sequence, Set, Tuple, Type, Union, cast
  import jsonpickle
  from bs4 import BeautifulSoup
  from ipywidgets import Widget
  from typing_extensions import Self, TypedDict
  from deepchecks import __version__
  from deepchecks.core import check_result
  from deepchecks.core.checks import BaseCheck, CheckConfig
  from deepchecks.core.display import DisplayableResult, save_as_html
  from deepchecks.core.errors import DeepchecksNotSupportedError, DeepchecksValueError
  from deepchecks.core.serialization.abc import HTMLFormatter
  from deepchecks.core.serialization.suite_result.html import SuiteResultSerializer
  from deepchecks.core.serialization.suite_result.ipython import SuiteResultSerializer
  from deepchecks.core.serialization.suite_result.json import SuiteResultSerializer
  from deepchecks.core.serialization.suite_result.widget import SuiteResultSerializer
  from deepchecks.utils.strings import get_random_string, widget_to_html_string
  from deepchecks.utils.wandb_utils import wandb_run
  from .None import common
label_desc: Use image node_id 12 for calling the SuiteResult obj's underlying member method code with example usage: obj.save_as_html(file, as_widget, requirejs, unique_id, connected) and returns: save_as_html