class_docstr: Media object for trace tree data.
  
  Arguments:
      root_span (Span): The root span of the trace tree.
      model_dict (dict, optional): A dictionary containing the model dump.
          NOTE: model_dict is a completely-user-defined dict. The UI will render
          a JSON viewer for this dict, giving special treatment to dictionaries
          with a `_kind` key. This is because model vendors have such different
          serialization formats that we need to be flexible here.
class_docstr_tok: ["Media","object","for","trace","tree","data",".","Arguments",":","root_span","(","Span",")",":","The","root","span","of","the","trace","tree",".","model_dict","(","dict",",","optional",")",":","A","dictionary","containing","the","model","dump",".","NOTE",":","model_dict","is","a","completely-user-defined","dict",".","The","UI","will","render","a","JSON","viewer","for","this","dict",",","giving","special","treatment","to","dictionaries","with","a","`","_kind","`","key",".","This","is","because","model","vendors","have","such","different","serialization","formats","that","we","need","to","be","flexible","here","."]
code: def __init__(
      self,
      root_span: Span,
      model_dict: typing.Optional[dict] = None,
  ):
      super().__init__()
      self._root_span = root_span
      self._model_dict = model_dict
  
imports: import dataclasses
  import hashlib
  import json
  import typing
  from dataclasses import dataclass, field
  from enum import Enum
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Union
  import wandb
  import wandb.data_types
  from wandb.sdk.data_types import _dtypes
  from wandb.sdk.data_types.base_types.media import Media
label_desc: Use image node_id 1 to create a new WBTraceTree object from inherited base classes: Media with example: obj = WBTraceTree(root_span, model_dict)