def validate_subscription_type(value):
    if value not in NOTIFICATION_TYPES:
        raise ValidationValueError
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/notifications/model.py/validate_subscription_type/original