In order to get the best experience from the SDK, we recommend the following:
Always use bulk operations
Unless you are testing or working on small datasets use bulk operations for faster and more reliable performance.
[label.delete() for label in labels]
get_many()methods to get elements of a paginated collection instead of
list(dataset.data_rows())is going to query for every single
data_rowin your dataset.
Make sure to use the latest version of the SDK
- Labelbox is a rapidly evolving company and we are constantly adding new features and optimizations.
We discourage customers from using the GraphQL API to integrate with Labelbox. Labelbox advises that customers use the Python SDK for all development.