in server/app/lib/config.py [0:0]
def __init__(self, yml: dict):
self.sender = yml["sender"]
self.template_dir = yml["template_dir"]
self.mailing_lists = []
self.mail_mappings = {}
self.slack_url = yml.get("slack_url") # Incoming webhook style
self.slack_token = yml.get("slack_token") # restricted token style
self.slack_channel = yml.get("slack_channel") # token style, cont'd.
self.mail_relay = yml.get("mail_relay", asfpy.messaging.DEFAULT_MSA)