def METHOD_NAME(self, warnings):
    """Takes the array of warnings and returns a formatted string.
    :param warnings: The array of warnings
    :type warnings: dict
    :returns: Formatted string or warnings
    """
    buf = "-------------------------------------------------------------------------------"
    for warning in warnings:
        buf += """