zulip/zerver/webhooks/zabbix
Hari Prashant Bhimaraju 76b49459f8 zabbix: Strengthen types using WildValue.
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.
2022-09-01 14:02:01 -07:00
..
fixtures webhooks/zabbix: Handle payloads with missing data properly. 2018-12-18 13:44:35 -08:00
__init__.py
doc.md markdown: Rewrite include plugin without markdown-include. 2022-06-26 17:36:31 -07:00
tests.py webhook: Rename FIXTURE_DIR_NAME to WEBHOOK_DIR_NAME. 2021-06-29 17:01:54 -07:00
view.py zabbix: Strengthen types using WildValue. 2022-09-01 14:02:01 -07:00