class_docstr: Serializes any SuiteResult instance into a list of IPython formatters.
  
  Parameters
  ----------
  value : SuiteResult
      SuiteResult instance that needed to be serialized.
class_docstr_tok: ["Serializes","any","SuiteResult","instance","into","a","list","of","IPython","formatters",".","Parameters","--","--","--","--","--","value",":","SuiteResult","SuiteResult","instance","that","needed","to","be","serialized","."]
docstr: Serialize a SuiteResult instance into a list of IPython formatters.
  
  Parameters
  ----------
  output_id : Optional[str], default None
      unique output identifier that will be used to form anchor links
  is_for_iframe_with_srcdoc : bool, default False
      anchor links, in order to work within iframe require additional prefix
      'about:srcdoc'. This flag tells function whether to add that prefix to
      the anchor link or not
  **kwargs :
      all other key-value arguments will be passed to the CheckResult/CheckFailure
      serializers
  
  Returns
  -------
  List[IPythonFormatter]
docstr_tok: ["Serialize","a","SuiteResult","instance","into","a","list","of","IPython","formatters",".","Parameters","--","--","--","--","--","output_id",":","Optional","[","str","]",",","default","None","unique","output","identifier","that","will","be","used","to","form","anchor","links","is_for_iframe_with_srcdoc",":","bool",",","default","False","anchor","links",",","in","order","to","work","within","iframe","require","additional","prefix","'about",":","srcdoc","'",".","This","flag","tells","function","whether","to","add","that","prefix","to","the","anchor","link","or","not","*","*","kwargs",":","all","other","key-value","arguments","will","be","passed","to","the","CheckResult\/CheckFailure","serializers","Returns","--","--","--","-","List","[","IPythonFormatter","]"]
code: def serialize(
      self,
      output_id: t.Optional[str] = None,
      is_for_iframe_with_srcdoc: bool = False,
      **kwargs,
  ) -> t.List[IPythonFormatter]:
      """Serialize a SuiteResult instance into a list of IPython formatters.
  
      Parameters
      ----------
      output_id : Optional[str], default None
          unique output identifier that will be used to form anchor links
      is_for_iframe_with_srcdoc : bool, default False
          anchor links, in order to work within iframe require additional prefix
          'about:srcdoc'. This flag tells function whether to add that prefix to
          the anchor link or not
      **kwargs :
          all other key-value arguments will be passed to the CheckResult/CheckFailure
          serializers
  
      Returns
      -------
      List[IPythonFormatter]
      """
      summary = self.prepare_summary(output_id=output_id, **kwargs)
      conditions_table = self.prepare_conditions_table(
          output_id=output_id, **kwargs
      )
      failures = self.prepare_failures_list()
  
      results_with_conditions = (
          self.prepare_results_with_condition_and_display(
              output_id=output_id,
              check_sections=["condition-table", "additional-output"],
              **kwargs,
          )
      )
      results_without_conditions = (
          self.prepare_results_without_condition(
              output_id=output_id,
              check_sections=["additional-output"],
              **kwargs,
          )
      )
      sections = [
          summary,
          HTML(Html.bold_hr),
          conditions_table,
          HTML(Html.bold_hr),
          results_with_conditions,
          HTML(Html.bold_hr),
          results_without_conditions,
      ]
  
      if failures:
          sections.extend([HTML(Html.bold_hr), failures])
  
      if output_id:
          link = linktag(
              text="Go to top",
              href=f"#{form_output_anchor(output_id)}",
              style={"font-size": "14px"},
              is_for_iframe_with_srcdoc=is_for_iframe_with_srcdoc,
          )
          sections.append(HTML(f"<br>{link}"))
  
      return list(flatten(sections))
  
file_path: deepchecks/deepchecks/core/serialization/suite_result/ipython.py
imports: import typing
  from IPython.display import HTML
  from deepchecks.core import check_result
  from deepchecks.core import suite
  from deepchecks.core.serialization.abc import IPythonFormatter, IPythonSerializer
  from deepchecks.core.serialization.check_result.html import CheckResultSection
  from deepchecks.core.serialization.check_result.ipython import CheckResultSerializer
  from deepchecks.core.serialization.common import Html, flatten, form_output_anchor, join
  from deepchecks.utils.html import linktag
  from .None import html
label_desc: Use image node_id 2 for calling the SuiteResultSerializer obj's underlying member method code with example usage: obj.serialize(output_id, is_for_iframe_with_srcdoc) and returns: list