class_docstr: Serializes any CheckFailure instance into an ipywidgets.Widget instance.
  
  Parameters
  ----------
  value : CheckFailure
      CheckFailure instance that needed to be serialized.
class_docstr_tok: ["Serializes","any","CheckFailure","instance","into","an","ipywidgets.Widget","instance",".","Parameters","--","--","--","--","--","value",":","CheckFailure","CheckFailure","instance","that","needed","to","be","serialized","."]
docstr: Serialize a CheckFailure instance into an ipywidgets.Widget instance.
  
  Returns
  -------
  ipywidgets.VBox
docstr_tok: ["Serialize","a","CheckFailure","instance","into","an","ipywidgets.Widget","instance",".","Returns","--","--","--","-","ipywidgets.VBox"]
code: def serialize(self, **kwargs) -> VBox:
      """Serialize a CheckFailure instance into an ipywidgets.Widget instance.
  
      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
  
      return normalize_widget_style(
          VBox(
              children=(
                  self.prepare_header(),
                  self.prepare_summary(),
                  self.prepare_error_message(),
              )
          )
      )
  
file_path: deepchecks/deepchecks/core/serialization/check_failure/widget.py
imports: from ipywidgets import HTML, VBox
  from deepchecks.core import check_result
  from deepchecks.core.serialization.abc import WidgetSerializer
  from deepchecks.core.serialization.common import normalize_widget_style
  from .None import html
label_desc: Use image node_id 2 for calling the CheckFailureSerializer obj's underlying member method code with example usage: obj.serialize() and returns: normalize_widget_style