def add_alarm_degrade_affecting_by_event_suppression(query):
    'Adds a degrade_affecting attribute from event_suppression to query.\n\n    :param query: Initial query.\n    :return: Modified query.\n    '
    query = query.add_columns(models.EventSuppression.degrade_affecting)
    return query
Adds a degrade_affecting attribute from event_suppression to query.

:param query: Initial query.
:return: Modified query.
def add_alarm_degrade_affecting_by_event_suppression(query):
    'Adds a degrade_affecting attribute from event_suppression to query.\n\n    :param query: Initial query.\n    :return: Modified query.\n    '
    query = query.add_columns(models.EventSuppression.degrade_affecting)
    return query