def get_trigger_db_by_ref(ref):
    return Trigger.get_by_ref(ref)
Returns the trigger object from db given a string ref.
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/services/triggers.py/get_trigger_db_by_ref