mirror of https://github.com/zulip/zulip.git
9377080f1f
This converts most webhook integration views to use @typed_endpoint instead of @has_request_variables, rewriting REQ parameters. For these webhooks, it simply requires switching the decorator, rewriting the type annotation of payload/message to WebhookPayload[WildValue], and removing the REQ default that defines the to_wild_value converter. |
||
---|---|---|
.. | ||
fixtures | ||
view | ||
__init__.py | ||
doc.md | ||
tests.py |