Skip to content

Instantly share code, notes, and snippets.


Tom Robijns trir262

View GitHub Profile
trir262 / 01
Last active Jul 14, 2021
Share results between snippets in a runbook
View 01
from silo_common.database import local_db
from collections import namedtuple
#Anthing passed via the EM7_RESULT is in clear text visible to anyone. Better not send any confidential data through that channel!
app_id = 0
dbc = local_db()
query = ("select app_id from master.dynamic_app_alerts where alert_id = {}".format(EM7_VALUES['%F']))
app_id = dbc.autofetch_value(query)