class_docstr: An testcase widget.
class_docstr_tok: ["An","testcase","widget","."]
docstr: Event handler. Users trigger python functions through the frontend interaction.
docstr_tok: ["Event","handler",".","Users","trigger","python","functions","through","the","frontend","interaction","."]
code: def handle_events(self, _, content, buffers):
      """
      Event handler. Users trigger python functions through the frontend interaction.
      """
      if content.get("event", "") == "apply_filter":
          filter_tags = content.get("filter_tags", [])
          is_fail_case = content.get("filter_fail_case", [])
          self.search(filter_tags, is_fail_case)
      elif content.get("event", "") == "fetch_example":
          self.fetch_example()
  
file_path: checklist/checklist/viewer/test_summarizer.py
imports: import ipywidgets
  from traitlets import Unicode, List, Dict
  import os
  import typing
  from spacy.lang.en import English
  from copy import deepcopy
label_desc: Use image node_id 4 for calling the TestSummarizer obj's underlying member method code with example usage: obj.handle_events(_, content, buffers) without return types