mypy: Clarify type hints in zulip/integrations/.

This commit is contained in:
neiljp (Neil Pilgrim) 2019-11-06 06:31:30 -08:00 committed by Tim Abbott
parent 357a5e06f3
commit f81843f189
3 changed files with 4 additions and 4 deletions

View file

@ -63,7 +63,7 @@ def make_api_call(path):
"Content-Type": "application/json",
"Accept": "application/json"})
if response.status_code == 200:
return json.loads(response.text)
return json.loads(response.text) # type: ignore # dynamic import
if response.status_code >= 500:
logging.error(str(response.status_code))