zulip/zerver/webhooks/uptimerobot
Hari Prashant Bhimaraju eca9088176 uptimerobot: Strengthen types using WildValue.
This commit strengthens types by typing the webhook's incoming
payload as WildValue and taming the values of the payload before
usage, which eradicates the use of Any within the UptimeRobot
incoming webhook integration.

The payload's values are now tamed, stored in variables and passed
into message templates as opposed to passing in the payload dict as
keyword arguments.

The KeyError exception has been replaced to catch a ValidationError
instead now, since the incoming payload's keys will be tamed before
usage and the non-existence of the key is raised as a
ValidationError in the taming function.
2022-09-01 14:05:07 -07:00
..
fixtures
__init__.py
doc.md markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
tests.py webhooks: Remove space from UptimeRobot. 2021-12-22 14:05:17 -08:00
view.py uptimerobot: Strengthen types using WildValue. 2022-09-01 14:05:07 -07:00