Releases: scaleapi/scaleapi-python-client
Releases · scaleapi/scaleapi-python-client
v2.0.3
- SDK handles 503Response code asScaleServiceUnavailable, with auto-retry
- For unknown error types from API, the default exception ScaleExceptionis extended with the source Response Code
- Readme is updated
v2.0.2
Bugfixing and readme updates.
v2.0.1
- Code samples in Readme updated
- CircleCI configured for automated build, test and publish
- HTTP Retry will be applied for 500error code as well
v2.0.0
What's New in v2
Please refer to latest README and Migration Guide for detailed documentation.
New Ways to Interact with Scale API:
- Introduced get_tasks()to retrieve tasks easier by handling pagination, tokens, offsets, and timeouts
- create_TaskType_task(...)methods are replaced with- create_task(TaskType, ...)by supporting new Task Types like Lidar
- A new method as_dict()introduced to access objects as a dictionary
- Deprecated some methods (fetch_taskandlist_batches) to avoid naming confusion
- Object models are updated for Task, Project, and Batch
API and Infrastructure Improvements:
- Enabled HTTP retry for certain error codes
- Improved error handling and introduced new Exception types.
- Enabled type hinting across the package
Documentation Updates:
- New Migration Guide for v2
- New Developer Guide for SDK developers
- README is uploaded to PyPI
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 pytesttest cases are added
v1.0.4
- Updates to the Batchobject model
- Enabled an option to extend UserAgentparameter
- Bug fixing for batch_statusand unquoted name parameters for the endpoint
v1.0.3
- Fixed bugs related to projectmethods
- Enabled User-Agentparameter in request headers with module, Python and OS versions
v1.0.2
- Add support for tagsandunique_idfilters in task retrieval
v1.0.1
- Fixes changes to binary distribution
- Adds missing task type textcollection
- Fixes typo in Readme
v1.0.0
Major overhaul, adding full support for Projects, Batches, and our current set of labeling endpoints.