Releases: scaleapi/scaleapi-python-client
v2.15.11
What's changed
Optional project_name Parameter for get_tasks() Function in Python SDK
Description:
This release includes an important update to the Scale API Python SDK that makes the project_name parameter optional for the get_tasks() function. Previously, project_name was a required parameter, which limited the flexibility of querying tasks.
Usage:
-
When calling
get_tasks(), you can now omit theproject_nameparameter:tasks = scale_client.get_tasks(batch_name='example_batch', status='TaskStatus.Completed')
-
The function will work correctly with just the
batch_nameandstatusparameters, enhancing flexibility and ease of use.
Additional Notes:
- This change is backward-compatible; existing code with the
project_nameparameter will continue to function without modification.
Thank you for using the Scale API Python SDK! If you have any questions or encounter any issues, please reach out to our support team.
Feel free to adjust any details to fit your specific needs or internal documentation style.
v2.15.10
What's Changed
- adds multichat task type for API creation by @jonathanfeng-scale in #91
Full Changelog: v2.15.9...v2.15.10
v2.15.9
v2.15.8
Improvements
- With this change, empty or non-existent
raw,retriesandhistoryattributes of a Response object is handled more elegantly.
v2.15.7
Improvements
- This change handles elegantly in case a
Sessionobject doesn't haveretriesandhistoryobjects.
v2.15.6
Improvements
- Adding
limitoption toget_tasksmethod to allow selecting a certain limit for every pull from API. - Limit is propagated to
/tasksendpoint.
v2.15.5
v2.15.4
Bug Fixes
- Fixes schema change on project templates endpoint
v2.15.3
New Features
- Task Batch creation now supports
metadata - Added
set_batch_metadatafunction to update Task Batch metadata - Added
get_project_templatefunction to retrieve Task Templates for TextCollection and Chat projects
v2.15.2
New Features
- Added
Chatas a new enum forTaskType