class_docstr: Auxiliary class to decouple display handling logic from other functionality.
class_docstr_tok: ["Auxiliary","class","to","decouple","display","handling","logic","from","other","functionality","."]
docstr: Serialize list of display items to wandb data types.
  
  Parameters
  ----------
  display : List[Union[str, DataFrame, Styler, BaseFigure, Callable, DisplayMap]]
      list of display items
  
  Returns
  -------
  List[Tuple[str, 'WBValue']]
docstr_tok: ["Serialize","list","of","display","items","to","wandb","data","types",".","Parameters","--","--","--","--","--","display",":","List","[","Union","[","str",",","DataFrame",",","Styler",",","BaseFigure",",","Callable",",","DisplayMap","]","]","list","of","display","items","Returns","--","--","--","-","List","[","Tuple","[","str",",","'WBValue","'","]","]"]
code: def handle_display(
      cls, display: t.List["check_types.TDisplayItem"], **kwargs
  ) -> t.List[t.Tuple[str, "WBValue"]]:
      """Serialize list of display items to wandb data types.
  
      Parameters
      ----------
      display : List[Union[str, DataFrame, Styler, BaseFigure, Callable, DisplayMap]]
          list of display items
  
      Returns
      -------
      List[Tuple[str, 'WBValue']]
      """
      return list(
          flatten(
              l=super().handle_display(display, **kwargs),
              stop=lambda it: isinstance(it, tuple) and len(it) == 2,
          )
      )
  
imports: import typing
  from collections import OrderedDict
  import pandas
  from pandas.io.formats.style import Styler
  from plotly.basedatatypes import BaseFigure
  from deepchecks.core import check_result
  from deepchecks.core.serialization.abc import ABCDisplayItemsHandler, WandbSerializer
  from deepchecks.core.serialization.common import aggregate_conditions, concatv_images, flatten, normalize_value, prettify
  from deepchecks.utils.wandb_utils import WANDB_INSTALLATION_CMD
label_desc: Use image node_id 1 for calling the DisplayItemsHandler obj's underlying member method code with example usage: obj.handle_display(cls, display) and returns: list