mirror of https://github.com/zulip/zulip.git
76b49459f8
This commit strengthens types by typing the webhook's incoming payload as WildValue, which eradicates the use of Any within the Zabbix incoming webhook integration. 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. |
||
---|---|---|
.. | ||
fixtures | ||
__init__.py | ||
doc.md | ||
tests.py | ||
view.py |