def request(self, method, url, **kwargs):  # pylint: disable=arguments-differ
        """
        Overrides Session.request to ensure that the session is authenticated
        """
        self._check_auth()
        return super(OAuthAPIClient, self).request(method, url, **kwargs)
Overrides Session.request to ensure that the session is authenticated