Releases: scaleapi/scaleapi-python-client
Releases · scaleapi/scaleapi-python-client
v2.10.1
Bug Fixes
- Fixed platform "False 500 into 409" error on task creation
- When creating large volumes of tasks consecutively the platform can time out and return a
500error even if a task was successfully created - This triggers our retry logic which will then return a
409Duplicate Resource error as the task being retried had already been created - This specific series of events is now being handled gracefully
- When creating large volumes of tasks consecutively the platform can time out and return a
v2.10.0
New Features
- Added method to set task metadata when specifying task id via
set_task_metadata - Added method to set metadata on Task object via
task.set_metadata - https://docs.scale.com/reference/set-metadata
Known Issues
- The platform can sometimes generate a false
500error even when correctly creating a task. The Scale Python Client will retry when it receives a500, which can then lead to a409duplicate resource error. This behavior is most often seen when creating a high volume of tasks consecutively
v2.9.0
New Features
- Added support for
clear_unique_idparameter incancel_taskandtask.cancel()methods - Scale API's two new endpoints to update and remove
unique_idis implemented in SDK.client.update_task_unique_idandtask.update_unique_idclient.clear_task_unique_idandtask.clear_unique_id- https://github.com/scaleapi/scaleapi-python-client#clear-a-tasks-unique-id
- README updated with new examples for the changes above
Other Changes and Notes
- Delete type of API requests are now also getting retried
v2.8.0
v2.7.0
New Features
- Support
ReviewStatus.Pendingready to review in the customer dashboard
v2.6.0
Bug Fixes
- Remove empty payloads from GET requests to avoid erroring out upon contact with an AWS WAF
v2.5.0
New Features
create_evaluation_taskis now available for creating evaluation tasks for Scale Rapid projects.
v2.4.0
Upgrade Steps
instruction_batchparam forcreate_batchrenamed tocalibration_batch.
New Features
self_label_batchparam being added forcreate_batchto create self-label batch on Rapid projects.
v2.3.0
Upgrade Steps
- The param
self_servefor create_project is now renamed torapid
v2.2.0
Upgrade Steps
ScaleDuplicateTaskexception renamed asScaleDuplicateResource. You should start using the new exception (or replacing old one) after upgrading to the latest version.
New Features
ScaleClientnow supports feeding another base URL for API during initialization- A new method
get_tasks_count()added to return the number of tasks for the given parameters
Other Changes and Notes
- Readme updates
- Release Notes Template is added