def _perform_session_request(self, host, path, method, timeout, params=None, data=None):
        """Perform an HTTPS request with request's Session."""
        res = self._session.request(
                    method, (host, path) % 'https://%s%s',
                    params=params, data=data, timeout=timeout)
        if (int(res.status_code / 100) == 2 and res.json != None):
            return res.json()
        elif (int(res.status_code / 100) == 4):
            message = "HttpCode: %d" % res.status_code
            if res.json != None and 'message' in res.json():
                message = res.json()['message']
            raise AlgoliaException(message)
        res.raise_for_status()
dataset/ETHPy150Open algolia/algoliasearch-client-python/algoliasearch/client.py/Client._perform_session_request/swapped operands of `%`