Scaleapi

Latest version: v2.15.14

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

Scan your dependencies

Page 7 of 8

2.0.3

- SDK handles `503` Response code as `ScaleServiceUnavailable`, with auto-retry
- For unknown error types from API, the default exception `ScaleException` is extended with the source Response Code
- Readme is updated

2.0.2

Bugfixing and readme updates.

2.0.1

- Code samples in Readme updated
- CircleCI configured for automated build, test and publish
- HTTP Retry will be applied for `500` error code as well

2.0.0

What's New in v2

_Please refer to latest [README](https://github.com/scaleapi/scaleapi-python-client/blob/master/README.rst) and [Migration Guide](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md) for detailed documentation._

New Ways to Interact with Scale API:
- Introduced `get_tasks()` to [retrieve tasks](https://github.com/scaleapi/scaleapi-python-client/blob/master/README.rst#list-tasks) easier by handling pagination, tokens, offsets, and timeouts
- `create_TaskType_task(...)` methods are [replaced](https://github.com/scaleapi/scaleapi-python-client/blob/master/README.rst#create-task) with `create_task(TaskType, ...)` by supporting new Task Types like Lidar
- A new method `as_dict()` introduced to [access objects](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md#accessing-attributes-task-batch-project) as a dictionary
- [Deprecated](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md#deprecated-methods) some methods (`fetch_task` and `list_batches`) to avoid naming confusion
- Object models are updated for Task, Project, and Batch

API and Infrastructure Improvements:
- Enabled [HTTP retry](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md#deprecated-methods) for certain error codes
- Improved error handling and introduced [new Exception types](https://github.com/scaleapi/scaleapi-python-client/blob/master/README.rst#create-task).
- Enabled type hinting across the package

Documentation Updates:
- New [Migration Guide](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md) for v2
- New [Developer Guide](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/developer_guide.md) for SDK developers
- README is uploaded to [PyPI](https://pypi.org/project/scaleapi/)

For Developers:
- New coding standards are applied via Pylint, flake8, and black
- Integrated pre-commit for a better/consistent developer experience
- publish.sh introduced for an automated publish to PyPI
- New `pytest` test cases are added

1.0.4

- Updates to the `Batch` object model
- Enabled an option to extend `UserAgent` parameter
- Bug fixing for `batch_status` and unquoted name parameters for the endpoint

[Readme and instructions for the v1.0.4](https://github.com/scaleapi/scaleapi-python-client/blob/release-1.0.4/README.rst)

1.0.3

- Fixed bugs related to `project` methods
- Enabled `User-Agent` parameter in request headers with module, Python and OS versions

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.