Skip to content

Releases: scaleapi/scaleapi-python-client

v2.15.11

30 Jul 16:37
f6d64cb

Choose a tag to compare

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 the project_name parameter:

    tasks = scale_client.get_tasks(batch_name='example_batch', status='TaskStatus.Completed')
  • The function will work correctly with just the batch_name and status parameters, enhancing flexibility and ease of use.

Additional Notes:

  • This change is backward-compatible; existing code with the project_name parameter 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

20 Jun 17:15
5661ee8

Choose a tag to compare

What's Changed

Full Changelog: v2.15.9...v2.15.10

v2.15.9

18 Jun 16:19
3f646fd

Choose a tag to compare

New Features


  • Task creation now supports ChatLite task type

v2.15.8

05 Jun 01:08
396f864

Choose a tag to compare

Improvements

  • With this change, empty or non-existent raw, retries and history attributes of a Response object is handled more elegantly.

v2.15.7

04 Jun 18:52
7fc823d

Choose a tag to compare

Improvements

  • This change handles elegantly in case a Session object doesn't have retries and history objects.

v2.15.6

30 May 21:08
aea93db

Choose a tag to compare

Improvements

  • Adding limit option to get_tasks method to allow selecting a certain limit for every pull from API.
  • Limit is propagated to /tasks endpoint.

v2.15.5

21 May 21:40
d6cb2be

Choose a tag to compare

New Features


  • Task creation now supports ChatExperimental task type

v2.15.4

01 Feb 17:47
4a052e8

Choose a tag to compare

Bug Fixes


  • Fixes schema change on project templates endpoint

v2.15.3

18 Jan 03:14
39e4613

Choose a tag to compare

New Features


  • Task Batch creation now supports metadata
  • Added set_batch_metadata function to update Task Batch metadata
  • Added get_project_template function to retrieve Task Templates for TextCollection and Chat projects

v2.15.2

07 Dec 21:28
a52dcd6

Choose a tag to compare

New Features


  • Added Chat as a new enum for TaskType