Scaleapi

Latest version: v2.15.14

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

2.15.14

New Features
- `TaskTemplate` class now supports `response_schema` if the feature is enabled for your account
- new helper methods `TaskTemplate.is_auto_onboardable()` and `TaskTemplate.get_response_schema()` to get response_schema dictionary

2.15.13

New Features
- `project_name` will be optional parameter for `get_tasks_count` method. Providing either project or batch name will be enough for this method.

2.15.12

Adding `MultiStage` to the task type enum in order to create task with that type!

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

python
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.

2.15.10

What's Changed
* adds multichat task type for API creation by jonathanfeng-scale in https://github.com/scaleapi/scaleapi-python-client/pull/91


**Full Changelog**: https://github.com/scaleapi/scaleapi-python-client/compare/v2.15.9...v2.15.10

2.15.9

New Features
-------
* Task creation now supports `ChatLite` task type

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.