def __getattr__(self, name):
        try:
            var = self.environ['bottle.request.ext.%s' % name]
            return var.__get__(self) if hasattr(var, '__get__') else var
        except KeyError:
            raise AttributeError('Attribute %r not defined.' % name)
Search in self.environ for additional user defined attributes.
dataset/ETHPy150Open Arelle/Arelle/arelle/webserver/bottle.py/BaseRequest.__getattr__