class_docstr: Serializes any SuiteResult instance into ipywidgets.Widget instance.
  
  Parameters
  ----------
  value : SuiteResult
      SuiteResult instance that needed to be serialized.
class_docstr_tok: ["Serializes","any","SuiteResult","instance","into","ipywidgets.Widget","instance",".","Parameters","--","--","--","--","--","value",":","SuiteResult","SuiteResult","instance","that","needed","to","be","serialized","."]
docstr: Serialize a SuiteResult instance into ipywidgets.Widget instance.
  
  Parameters
  ----------
  output_id : Optional[str], default None
      unique output identifier that will be used to form anchor links
  **kwargs :
      all other key-value arguments will be passed to the CheckResult/CheckFailure
      serializers
  
  Returns
  -------
  ipywidgets.VBox
docstr_tok: ["Serialize","a","SuiteResult","instance","into","ipywidgets.Widget","instance",".","Parameters","--","--","--","--","--","output_id",":","Optional","[","str","]",",","default","None","unique","output","identifier","that","will","be","used","to","form","anchor","links","*","*","kwargs",":","all","other","key-value","arguments","will","be","passed","to","the","CheckResult\/CheckFailure","serializers","Returns","--","--","--","-","ipywidgets.VBox"]
code: def serialize(
      self, output_id: t.Optional[str] = None, **kwargs
  ) -> Widget:
      """Serialize a SuiteResult instance into ipywidgets.Widget instance.
  
      Parameters
      ----------
      output_id : Optional[str], default None
          unique output identifier that will be used to form anchor links
      **kwargs :
          all other key-value arguments will be passed to the CheckResult/CheckFailure
          serializers
  
      Returns
      -------
      ipywidgets.VBox
      """
      # Need this in order to create kernel see https://github.com/jupyter-widgets/ipywidgets/issues/3729
      import ipykernel.ipkernel  # pylint: disable=unused-import,import-outside-toplevel # noqa: F401
  
      passed_checks = self.value.get_passed_checks()
      not_passed_checks = self.value.get_not_passed_checks()
      not_ran_checks = self.value.get_not_ran_checks()
      other_checks = t.cast(
          t.List[check_types.CheckResult],
          self.value.select_results(
              self.value.results_without_conditions
          ),
      )
  
      accordions = [
          self.prepare_results(
              title="Didn't Pass",
              results=not_passed_checks,
              output_id=output_id,
              summary_creation_method=self.prepare_conditions_summary,
              **kwargs,
          ),
          self.prepare_results(
              title="Passed",
              results=passed_checks,
              output_id=output_id,
              summary_creation_method=self.prepare_conditions_summary,
              **kwargs,
          ),
          self.prepare_results(
              title="Other",
              results=other_checks,
              output_id=output_id,
              summary_creation_method=self.prepare_unconditioned_results_summary,
              check_sections=["additional-output"],
              **kwargs,
          ),
          self.prepare_failures(
              title="Didn't Run",
              failures=not_ran_checks,
              output_id=output_id,
              **kwargs,
          ),
      ]
  
      content = VBox(
          children=[
              self.prepare_summary(output_id=output_id, **kwargs),
              *accordions,
          ]
      )
      return Accordion(
          children=[content],
          _titles={"0": self.value.name},
          selected_index="0",
      )
  
imports: import typing
  import warnings
  from ipywidgets import HTML, Accordion, VBox, Widget
  from deepchecks.core import check_result
  from deepchecks.core import suite
  from deepchecks.core.serialization.abc import WidgetSerializer
  from deepchecks.core.serialization.check_failure.widget import CheckFailureSerializer
  from deepchecks.core.serialization.check_result.widget import CheckResultSerializer
  from deepchecks.core.serialization.common import Html
  from deepchecks.core.serialization.common import aggregate_conditions, create_failures_dataframe, create_results_dataframe, form_output_anchor, join, normalize_widget_style
  from deepchecks.core.serialization.dataframe.widget import DataFrameSerializer
  from deepchecks.utils.dataframes import hide_index_for_display
  from deepchecks.utils.strings import get_random_string
  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) and returns: Accordion