class_docstr: A dict that passes mutable extending operations used in Model
  to parent dict instance.
  Extending treedict you will also extend its parent
class_docstr_tok: ["A","dict","that","passes","mutable","extending","operations","used","in","Model","to","parent","dict","instance",".","Extending","treedict","you","will","also","extend","its","parent"]
code: def __init__(self, iterable=(), parent=None, **kwargs):
      super().__init__(iterable, **kwargs)
      assert isinstance(parent, dict) or parent is None
      self.parent = parent
      if self.parent is not None:
          self.parent.update(self)
  
imports: import functools
  import warnings
  from typing import Any, Dict, List, NewType, Optional, Sequence, Tuple, Union, cast
  import arviz
  import cloudpickle
  import numpy
  import xarray
  from cachetools import LRUCache, cachedmethod
  from pytensor import Variable
  from pytensor.compile import SharedVariable
  from pytensor.graph.utils import ValidatingScratchpad
  from pymc.exceptions import BlockModelAccessError
label_desc: Use image node_id 1 to create a new treedict object from inherited base classes: dict with example: obj = treedict(iterable, parent)