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