mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 10:33:54 +00:00
mypy: Fix event_types annotation.
This commit is contained in:
committed by
Steve Howell
parent
87cca3a234
commit
9cde534cf4
@@ -69,8 +69,8 @@ def get_events_backend(request: HttpRequest, user_profile: UserProfile,
|
||||
intentionally_undocumented=True),
|
||||
all_public_streams: bool=REQ(default=False, validator=check_bool,
|
||||
intentionally_undocumented=True),
|
||||
event_types: Optional[str]=REQ(default=None, validator=check_list(check_string),
|
||||
intentionally_undocumented=True),
|
||||
event_types: Optional[Sequence[str]]=REQ(default=None, validator=check_list(check_string),
|
||||
intentionally_undocumented=True),
|
||||
dont_block: bool=REQ(default=False, validator=check_bool),
|
||||
narrow: Iterable[Sequence[str]]=REQ(default=[], validator=check_list(None),
|
||||
intentionally_undocumented=True),
|
||||
|
||||
Reference in New Issue
Block a user