mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
requirements: Upgrade mypy to 0.670.
Requires minor adjustment for accented 'i' in variable name.
This commit is contained in:
committed by
Tim Abbott
parent
2160ece8e2
commit
1348c8fd05
@@ -376,11 +376,11 @@ def mark_topic_as_read(client):
|
||||
# type: (Client) -> None
|
||||
|
||||
# Grab an existing topic name
|
||||
topìc_name = client.get_stream_topics(1)['topics'][0]['name']
|
||||
topic_name = client.get_stream_topics(1)['topics'][0]['name']
|
||||
|
||||
# {code_example|start}
|
||||
# Mark the unread messages in stream 1's topic "topic_name" as read
|
||||
result = client.mark_topic_as_read(1, topìc_name)
|
||||
result = client.mark_topic_as_read(1, topic_name)
|
||||
# {code_example|end}
|
||||
|
||||
validate_against_openapi_schema(result, '/mark_stream_as_read', 'post', '200')
|
||||
|
||||
Reference in New Issue
Block a user