def __getattr__(self, name):
        if name in self.ALLOWED_ATTRIBUTES:
            return self._sentenceData.get(name, None)
        else:
            className = self.__class__.__name__
            msg = "%s sentences have no %s attributes" % (className, name)
            raise AttributeError(msg)
Reimplement message field that was deprecated in Python 2.6
dataset/ETHPy150Open twisted/twisted/twisted/positioning/_sentence.py/_BaseSentence.__getattr__--crossover with--dataset/ETHPy150Open mopidy/mopidy/mopidy/exceptions.py/MopidyException.message