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","."]
code: def __init__(self, value: "check_types.CheckFailure", **kwargs):
      if not isinstance(value, check_types.CheckFailure):
          raise TypeError(
              f'Expected "CheckFailure" but got "{type(value).__name__}"'
          )
      super().__init__(value=value)
      self._html_serializer = html.CheckFailureSerializer(self.value)
  
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 1 to create a new CheckFailureSerializer object from inherited base classes: WidgetSerializer with example: obj = CheckFailureSerializer(value)