stream_subscription: Remove unused TypedDict `SubInfo`.

This commit is contained in:
Hashir Sarwar 2020-02-10 19:33:17 +05:00 committed by Tim Abbott
parent 86faebc2e5
commit dcbd3e486f
1 changed files with 0 additions and 6 deletions

View File

@ -1,5 +1,4 @@
from typing import Any, Dict, List, Tuple
from typing_extensions import TypedDict
from django.db.models.query import QuerySet
from zerver.models import (
@ -39,11 +38,6 @@ def get_stream_subscriptions_for_users(user_profiles: List[UserProfile]) -> Quer
recipient__type=Recipient.STREAM,
)
SubInfo = TypedDict('SubInfo', {
'sub': Subscription,
'stream': Stream,
})
def get_bulk_stream_subscriber_info(
user_profiles: List[UserProfile],
stream_dict: Dict[int, Stream]) -> Dict[int, List[Tuple[Subscription, Stream]]]: