We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e04b5e commit b910dc8Copy full SHA for b910dc8
scaleapi/_version.py
@@ -1,2 +1,2 @@
1
-__version__ = "2.14.0"
+__version__ = "2.14.1"
2
__package_name__ = "scaleapi"
scaleapi/api.py
@@ -152,8 +152,8 @@ def _api_request(
152
# status=409,
153
# redirect_location=None)
154
if retry_history != ():
155
- # See if the first retry was a 500 error
156
- if retry_history[0][3] == 500:
+ # See if the first retry was a 500 or 503 error
+ if retry_history[0][3] >= 500:
157
uuid = body["unique_id"]
158
newUrl = f"{self.base_api_url}/tasks?unique_id={uuid}"
159
# grab task from api
0 commit comments