lifeguard-notification-msteams

Lifeguard integration with MS Teams


License
GPL-2.0
Install
pip install lifeguard-notification-msteams==0.0.4

Documentation

lifeguard-notification-msteams

MS Teams Notifications

Usage

@validation(
    "Description",
    actions=[notify_in_single_message],
    schedule={"every": {"minutes": 1}},
    settings={
        "notification": {
            "template": "jinja2 string template"
            "msteams": {
                "channels": ["channelwebhookurl"],
            }
        },
    },
)
def a_validation():
    return ValidationResponse("a_validation", NORMAL, {}, {"notification": {"notify": True}})