class_docstr: Dictionary subclass whose entries can be accessed like attributes (as well as normally).
  Credits: https://aiida.readthedocs.io/projects/aiida-core/en/latest/_modules/aiida/common/extendeddicts.html#AttributeDict  # noqa
docstr: Recursively turn the `dict` and all its nested dictionaries into `AttrDict` instance.
docstr_tok: ["Recursively","turn","the","`","dict","`","and","all","its","nested","dictionaries","into","`","AttrDict","`","instance","."]
code: def __init__(self, dictionary):
      """
      Recursively turn the `dict` and all its nested dictionaries into `AttrDict` instance.
      """
      super().__init__()
  
      for key, value in dictionary.items():
          if isinstance(value, dict):
              self[key] = AttrDict(value)
          else:
              self[key] = value
  
file_path: vissl/vissl/config/attr_dict.py
label_desc: Use image node_id 1 to create a new AttrDict object from inherited base classes: dict with example: obj = AttrDict(dictionary)