mirror of https://github.com/zulip/zulip.git
69ee84bb14
This fixes a couple things: * process_event() is a pretty vague name * returning tuples should generally be avoided * we were producing the same REST parameters in both subclasses * relative_url_path was always blank * request_kwargs was always empty Now process_event() is called build_bot_request(), and it only returns request data, not a tuple of `rest_operation` and `request_data`. By no longer returning `rest_operation`, there are fewer moving parts. We just have `do_rest_call` make a POST call. |
||
---|---|---|
.. | ||
__init__.py | ||
queue_processors.py |