mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
narrow: Document BuildNarrowFilterTest.
This commit is contained in:
@@ -14,6 +14,8 @@ def check_supported_events_narrow_filter(narrow):
|
||||
|
||||
def build_narrow_filter(narrow):
|
||||
# type: (Iterable[Sequence[text_type]]) -> Callable[[Mapping[str, Any]], bool]
|
||||
"""Changes to this function should come with corresponding changes to
|
||||
BuildNarrowFilterTest."""
|
||||
check_supported_events_narrow_filter(narrow)
|
||||
def narrow_filter(event):
|
||||
# type: (Mapping[str, Any]) -> bool
|
||||
|
||||
Reference in New Issue
Block a user