From dcbd3e486f91c63d2b9944e8a1739c0acf86cdf5 Mon Sep 17 00:00:00 2001 From: Hashir Sarwar Date: Mon, 10 Feb 2020 19:33:17 +0500 Subject: [PATCH] stream_subscription: Remove unused TypedDict `SubInfo`. --- zerver/lib/stream_subscription.py | 6 ------ 1 file changed, 6 deletions(-) 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]]]: