mypy: Add non-None session assertion in Zulip API.
MODIFY
zulip/zulip/__init__.py
zulip/zulip/__init__.py
@@ -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,

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