def trigger_alert(alert, metric):

    if '@' in alert[1]:
        strategy = 'alert_smtp'
    else:
        strategy = 'alert_' + alert[1]

    getattr(alerters, strategy)(alert, metric)
dataset/ETHPy150Open etsy/skyline/src/analyzer/alerters.py/trigger_alert/original