mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
mypy: Set self.doc_context in integrations.py to Optional.
This commit is contained in:
committed by
Tim Abbott
parent
f2b71ba12a
commit
814dce0452
@@ -60,7 +60,7 @@ class Integration(object):
|
||||
self.client_name = client_name
|
||||
self.secondary_line_text = secondary_line_text
|
||||
self.doc = doc
|
||||
self.doc_context = None # type: Dict[Any, Any]
|
||||
self.doc_context = None # type: Optional[Dict[Any, Any]]
|
||||
|
||||
for category in categories:
|
||||
if category not in CATEGORIES:
|
||||
|
||||
Reference in New Issue
Block a user