From dd55d5b683f139d11af0eabc6b332863d2bff031 Mon Sep 17 00:00:00 2001 From: umkay Date: Mon, 22 May 2017 15:30:41 -0700 Subject: [PATCH] mypy: Fix bad type annotation --- zerver/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/models.py b/zerver/models.py index a7b2763888..c5a176bd5e 100644 --- a/zerver/models.py +++ b/zerver/models.py @@ -407,7 +407,7 @@ class RealmEmoji(ModelReprMixin, models.Model): return u"" % (self.realm.string_id, self.name, self.file_name) def get_realm_emoji_uncached(realm): - # type: (Realm) -> Dict[Text, Optional[Dict[str, Iterable[Text]]]] + # type: (Realm) -> Dict[Text, Dict[str, Any]] d = {} from zerver.lib.emoji import get_emoji_url for row in RealmEmoji.objects.filter(realm=realm).select_related('author'):