Releases: scaleapi/scaleapi-python-client
Releases · scaleapi/scaleapi-python-client
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 withcreate_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_task
andlist_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
pytest
test cases are added
v1.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
v1.0.3
- Fixed bugs related to
project
methods - Enabled
User-Agent
parameter in request headers with module, Python and OS versions
v1.0.2
- Add support for
tags
andunique_id
filters 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.