mypy: Add non-None session assertion in Zulip API.
This commit is contained in:
parent
2a2c8ae25f
commit
13bf6f7262
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue