mypy: Clarify type hints in zulip/integrations/.
This commit is contained in:
parent
357a5e06f3
commit
f81843f189
3 changed files with 4 additions and 4 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue