mypy: Fix bad type annotation

This commit is contained in:
umkay 2017-05-22 15:30:41 -07:00 committed by Eklavya Sharma
parent 09e1136cc8
commit dd55d5b683
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ class RealmEmoji(ModelReprMixin, models.Model):
return u"<RealmEmoji(%s): %s %s>" % (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'):