Skip to content

v2.15.11

Compare
Choose a tag to compare
@fatihkurtoglu fatihkurtoglu released this 30 Jul 16:37
· 3 commits to master since this release
f6d64cb

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.