mypy: Add non-None session assertion in Zulip API.

This commit is contained in:
neiljp (Neil Pilgrim) 2018-01-07 08:08:45 -08:00 committed by showell
parent 2a2c8ae25f
commit 13bf6f7262

View file

@ -461,6 +461,7 @@ class Client(object):
req_files.append((f.name, f))
self.ensure_session()
assert(self.session is not None)
query_state = {
'had_error_retry': False,