def __getitem__(self, key): try: return getitem(super(DotNotationMixin, self), key) except IndexError as e: raise KeyError(e)
def __getitem__(self, key): try: return getitem(self._doc, key) except IndexError as e: raise KeyError(e)