Skip to content

v2.0.0

Compare
Choose a tag to compare
@fatihkurtoglu fatihkurtoglu released this 05 Apr 19:42
· 62 commits to master since this release
22827ba

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_task and list_batches) to avoid naming confusion
  • Object models are updated for Task, Project, and Batch

API and Infrastructure Improvements:

Documentation Updates:

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