def __getitem__(self, t):
    ' this[k] '
    for (k, v) in self.__dict__.items():
        if (k == t):
            return v
        if isinstance(v, DictToAttrDeep):
            if (t in v):
                return v[t]
this[k]
def __getitem__(self, t):
    '  '
    for (k, v) in self.__dict__.items():
        if (k == t):
            return v
        if isinstance(v, DictToAttrDeep):
            if (t in v):
                return v[t]