diff --git a/zerver/lib/stream_subscription.py b/zerver/lib/stream_subscription.py index fb1a66418e..6e762c82a5 100644 --- a/zerver/lib/stream_subscription.py +++ b/zerver/lib/stream_subscription.py @@ -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]]]: