def METHOD_NAME(max_retries: int = 5):
    def retry_request(func):
        @wraps(func)
        def wrapper(*args, **kwargs):
            retries = max_retries
            while True:
                try:
                    return func(*args, **kwargs)
                except RequestException as exception:
                    logger.warning(exception)
                    retries -= 1
                    if retries <= 0:
                        break
                    sleep(2.0)
            return None
        return wrapper
    return retry_request