mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Initializing a dictionary from an iterable requires the each item to be a tuple containg a key and a value. `mypy_django_plugin` cannot infer the number of items in an queryset with annotated values, so we have to explicitly unpack each row with a dictionary comprehension here. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
12 KiB
12 KiB