def soft_disable_alert(alert_text_2: str) -> AlertCallbackType:

    def func(CP: car.CarParams, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert:
        return SoftDisableAlert(alert_text_2)
    return func
def soft_disable_alert(alert_text_2: str) -> AlertCallbackType:

    def func(CP: car.CarParams, sm: messaging.SubMaster, metric: bool, soft_disable_time: int) -> Alert:
        return SoftDisableAlert(alert_text_2)
    return func