in bots/incident-response-slackbot/scripts/send_alert.py [0:0]
def load_alerts():
alerts_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "alerts.toml")
with open(alerts_path, "r") as file:
data = toml.load(file)
return data