def __getattribute__(self, k):
        '''Gets attribute from `self` if attribute key is in `self._attrs`,
        else get it from the wrapped :class:`requests.Response`.
        '''
        if k == '_attrs' or k in object.__getattribute__(self, '_attrs'):
            return object.__getattribute__(self, k)
        r = object.__getattribute__(self, '_requests_response')
        if k == '_requests_response':
            return r
        return r.__getattribute__(k)
def __getattribute__ ( self , k ) : if k == '_attrs' or k in object . __getattribute__ ( self , '_attrs' ) : return object . __getattribute__ ( self , k ) r = object . __getattribute__ ( self , '_requests_response' ) if k == '_requests_response' : return r return r . __getattribute__ ( k )
Gets attribute from `self` if attribute key is in `self._attrs`,
        else get it from the wrapped :class:`requests.Response`.