def request_timeout(self, timeout):
        """
        Context manager implements opportunity to change request timeout in current context

        :param timeout:
        :return:
        """
        timeout = self._prepare_timeout(timeout)
        token = self._ctx_timeout.set(timeout)
        try:
            yield
        finally:
            self._ctx_timeout.reset(token)
Context manager implements opportunity to change request timeout in current context

        :param timeout:
        :return: