class_docstr: A dict where you can use `d["element"]` or `d.element`.
code: def __init__(self, *args, **kwargs):
      super(NamedDict, self).__init__(*args, **kwargs)
      self.__dict__ = self
  
imports: import enum
  import numbers
  import re
  import numpy
label_desc: Use image node_id 1 to create a new NamedDict object from inherited base classes: dict with example: obj = NamedDict()