scaleapi 2.15.7__tar.gz → 2.15.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scaleapi-2.15.7 → scaleapi-2.15.8}/PKG-INFO +1 -1
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/_version.py +1 -1
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/api.py +3 -3
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi.egg-info/PKG-INFO +1 -1
- {scaleapi-2.15.7 → scaleapi-2.15.8}/README.rst +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/__init__.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/batches.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/evaluation_tasks.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/exceptions.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/files.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/projects.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/quality_tasks.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/studio.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/tasks.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/teams.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi/training_tasks.py +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi.egg-info/SOURCES.txt +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi.egg-info/dependency_links.txt +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi.egg-info/requires.txt +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/scaleapi.egg-info/top_level.txt +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/setup.cfg +0 -0
- {scaleapi-2.15.7 → scaleapi-2.15.8}/setup.py +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
__version__ = "2.15.
|
|
1
|
+
__version__ = "2.15.8"
|
|
2
2
|
__package_name__ = "scaleapi"
|
|
@@ -144,10 +144,10 @@ class Api:
|
|
|
144
144
|
# Some endpoints only return 'OK' message without JSON
|
|
145
145
|
return json
|
|
146
146
|
elif res.status_code == 409 and "task" in endpoint and body.get("unique_id"):
|
|
147
|
-
|
|
148
|
-
if "retries" in res.raw and "history" in res.raw.retries:
|
|
147
|
+
try:
|
|
149
148
|
retry_history = res.raw.retries.history
|
|
150
|
-
|
|
149
|
+
except AttributeError:
|
|
150
|
+
retry_history = []
|
|
151
151
|
# Example RequestHistory tuple
|
|
152
152
|
# RequestHistory(method='POST',
|
|
153
153
|
# url='/v1/task/imageannotation',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|