Python SDK 3.30.0 release

Release notes

Recently we released a new version of our Python SDK (see the changelog here). It includes the following major updates:

  • Running project.setup_editormultiple times no longer resets the ontology. It instead raises an error if the editor is already set up for the project
    • To avoid emptying the ontology via setup_editor please use pip install –upgrade labelbox to upgrade to the latest version of the SDK.
  • We standardized our asset import payloads to make the format more consistent across the asset types:
    • create_data_rows, create_data_rows_sync, create_data_row, and update_data_rows all accept the new data row input format for row_data
    • create_data_row now accepts an attachment parameter to be consistent with create_data_rows
    • Click through the following pages to see the standardized import format for each asset type: Image | Video | Text | Geospatial | Documents | Conversational | Audio | DICOM | HTML
  • Conversational text data rows will be uploaded to a JSON file automatically on the backend to reduce the amount of i/o required in the SDK.

Please use pip install –upgrade labelbox to upgrade to the latest version of the SDK.