def _get_rt_from_session(self):
        """
        Returns the request token cached in the session by
        ``_get_request_token``
        """
        try:
            return self.request.session['oauth_%s_request_token'
                                        % get_token_prefix(
                                            self.request_token_url)]
        except __HOLE__:
            raise OAuthError(_('No request token saved for "%s".')
                             % get_token_prefix(self.request_token_url))
dataset/ETHPy150Open pennersr/django-allauth/allauth/socialaccount/providers/oauth/client.py/OAuthClient._get_rt_from_session