class_docstr: Serializes any SuiteResult instance into Wandb media format.
  
  Parameters
  ----------
  value : SuiteResult
      SuiteResult instance that needed to be serialized.
class_docstr_tok: ["Serializes","any","SuiteResult","instance","into","Wandb","media","format",".","Parameters","--","--","--","--","--","value",":","SuiteResult","SuiteResult","instance","that","needed","to","be","serialized","."]
docstr: Serialize a SuiteResult instance into Wandb media format.
  
  Parameters
  ----------
  **kwargs :
      all key-value arguments will be passed to the CheckResult/CheckFailure
      serializers
  
  Returns
  -------
  Dict[str, WBValue]
docstr_tok: ["Serialize","a","SuiteResult","instance","into","Wandb","media","format",".","Parameters","--","--","--","--","--","*","*","kwargs",":","all","key-value","arguments","will","be","passed","to","the","CheckResult\/CheckFailure","serializers","Returns","--","--","--","-","Dict","[","str",",","WBValue","]"]
code: def serialize(self, **kwargs) -> t.Dict[str, "WBValue"]:
      """Serialize a SuiteResult instance into Wandb media format.
  
      Parameters
      ----------
      **kwargs :
          all key-value arguments will be passed to the CheckResult/CheckFailure
          serializers
  
      Returns
      -------
      Dict[str, WBValue]
      """
      suite_name = self.value.name
      results: t.List[t.Tuple[str, "WBValue"]] = []
  
      for result in self.value.results:
          if isinstance(result, check_types.CheckResult):
              results.extend(
                  [
                      (f"{suite_name}/{k}", v)
                      for k, v in CheckResultSerializer(result)
                      .serialize(**kwargs)
                      .items()
                  ]
              )
          elif isinstance(result, check_types.CheckFailure):
              results.extend(
                  [
                      (f"{suite_name}/{k}", v)
                      for k, v in CheckFailureSerializer(result)
                      .serialize(**kwargs)
                      .items()
                  ]
              )
          else:
              raise TypeError(f"Unknown result type - {type(result)}")
  
      return OrderedDict(results)
  
file_path: deepchecks/deepchecks/core/serialization/suite_result/wandb.py
imports: import typing
  from collections import OrderedDict
  from deepchecks.core import check_result
  from deepchecks.core import suite
  from deepchecks.core.serialization.abc import WandbSerializer
  from deepchecks.core.serialization.check_failure.wandb import CheckFailureSerializer
  from deepchecks.core.serialization.check_result.wandb import CheckResultSerializer
label_desc: Use image node_id 2 for calling the SuiteResultSerializer obj's underlying member method code with example usage: obj.serialize() and returns: OrderedDict