We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc8b619 commit c538cf3Copy full SHA for c538cf3
1 file changed
src/actinia/utils.py
@@ -51,8 +51,8 @@ def request_and_check(method, url, status_code=(200,), retries=0, **kwargs):
51
Returns:
52
(dict): returns text of the response as dictionary
53
54
- Throws an error if the request does not have the status_code or
55
- response content be paresd as JSON.
+ Throws an error if the request does not have the right status_code or
+ the response content cannot be paresd as JSON.
56
"""
57
attempt = 0
58
while attempt <= retries:
0 commit comments