snews_cs.snews_bot ================== .. py:module:: snews_cs.snews_bot Attributes ---------- .. autoapisummary:: snews_cs.snews_bot.log snews_cs.snews_bot.slack_token snews_cs.snews_bot.client snews_cs.snews_bot.broker snews_cs.snews_bot.alert_topic snews_cs.snews_bot.slack_channel_id snews_cs.snews_bot.alert_schema Functions --------- .. autoapisummary:: snews_cs.snews_bot.get_image snews_cs.snews_bot.send_table Module Contents --------------- .. py:data:: log .. py:data:: slack_token .. py:data:: client .. py:data:: broker .. py:data:: alert_topic .. py:data:: slack_channel_id .. py:data:: alert_schema .. py:function:: get_image(is_test, alert_data, topic) .. py:function:: send_table(alert_data, alert, is_test, topic) send warning on slack. Both alert_data (dictionary with info from each detector) and the alert (single dict with collected info) are required