zulip/zerver
Steve Howell cc2dbefc60 mypy: Use better types for EVENT_FUNCTION_MAPPER.
The EVENT_FUNCTION_MAPPER maps a string event name
to a function handler.  Before this we circumvented
mypy checks with a call to get_body_function_based_on_type,
which specified Any as the type of our event function.

Now the types are rigorous.

This change was impossible without the recent commit
to introduce the Helper class.
2020-09-03 10:44:39 -07:00
..
data_import python: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
lib django_api, test_classes: Use Python 3 form of super(). 2020-09-02 11:31:46 -07:00
management python: Replace unnecessary intermediate lists with generators. 2020-09-02 11:15:41 -07:00
migrations python: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
openapi python: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
templatetags python: Replace list literal concatenation with * unpacking. 2020-09-02 11:15:41 -07:00
tests decorator test: Dedent some assertions. 2020-09-03 10:44:39 -07:00
tornado django_api, test_classes: Use Python 3 form of super(). 2020-09-02 11:31:46 -07:00
views python: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
webhooks mypy: Use better types for EVENT_FUNCTION_MAPPER. 2020-09-03 10:44:39 -07:00
worker python: Replace unnecessary intermediate lists with generators. 2020-09-02 11:15:41 -07:00
__init__.py
apps.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
context_processors.py template context: Remove jitsi_server_url. 2020-09-01 17:29:31 -07:00
decorator.py webhook logger: Add summary field. 2020-09-03 10:44:39 -07:00
filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
forms.py middleware: Make HostDomain into a process_request, not process_response. 2020-08-11 10:37:55 -07:00
logging_handlers.py docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
middleware.py python: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
models.py models: Add comment for Big Blue Button ID placeholder. 2020-08-31 16:27:27 -07:00
signals.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00