Python SDK 3.30.0 release
almost 2 years ago
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_editor
multiple 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 usepip install –upgrade labelbox
to upgrade to the latest version of the SDK.
- To avoid emptying the ontology via
- 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
, andupdate_data_rows
all accept the new data row input format forrow_data
create_data_row
now accepts an attachment parameter to be consistent withcreate_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.