zulip/zerver
Zixuan James Li fcba35036b rest: Add assertions for entries from supported methods.
Mypy considers that "Tuple[Any, ...]" is incompatible with
"Union[Tuple[Callable[..., HttpResponse], Set[str]], HttpResponse]".

handler, view_flags = entry is sufficient to suppress the error, but we
also add assertions for full measure.

Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-08-15 17:20:04 -07:00
..
actions streams: Extract code for sending events in bulk_remove_subscriptions. 2022-08-13 14:28:30 -07:00
data_import rocketchat: Handle PMs with only one recipient. 2022-08-09 10:58:58 -07:00
integration_fixtures/nagios
lib rest: Add assertions for entries from supported methods. 2022-08-15 17:20:04 -07:00
management import: Remove dead do_import_system_bots code. 2022-08-11 13:59:50 -07:00
migrations message_edit: Make zero invalid value for message_content_edit_time_limit_seconds. 2022-08-12 18:09:53 -07:00
openapi message_edit: Make zero invalid value for message_content_edit_time_limit_seconds. 2022-08-12 18:09:53 -07:00
tests forms: Fix 500 error on realm creation with invalid email. 2022-08-15 17:19:37 -07:00
tornado user_topic: Add user_topic event. 2022-08-04 17:44:00 -07:00
views message_edit: Make zero invalid value for message_content_edit_time_limit_seconds. 2022-08-12 18:09:53 -07:00
webhooks python: Use a real parser for email addresses. 2022-07-29 15:47:33 -07:00
worker queue_processor: Fix type annotation for connection. 2022-07-26 18:00:24 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py caching: Make sender type optional for flush_cache. 2021-07-26 14:48:07 -07:00
context_processors.py footer: Reduce links for self-hosted installations on signup pages. 2022-07-22 15:46:42 -07:00
decorator.py rest: Extract remote_server_path from rest_path. 2022-08-13 14:53:52 -07:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py forms: Fix 500 error on realm creation with invalid email. 2022-08-15 17:19:37 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py request: Refactor remote_server into RequestNotes. 2022-07-28 09:38:40 -07:00
models.py message_edit: Make zero invalid value for message_content_edit_time_limit_seconds. 2022-08-12 18:09:53 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00