python: Excise None from pointlessly nullable booleans.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-04-26 19:23:43 -07:00
committed by Tim Abbott
parent af30538a65
commit fd16f97d6b
7 changed files with 12 additions and 14 deletions

View File

@@ -186,7 +186,7 @@ class SubscriptionStreamDict(TypedDict):
email_notifications: Optional[bool]
first_message_id: Optional[int]
history_public_to_subscribers: bool
in_home_view: Optional[bool]
in_home_view: bool
# Bug: invite_only should be bool.
invite_only: Optional[bool]
is_announcement_only: bool