Releases: Labelbox/labelbox-python
Releases · Labelbox/labelbox-python
Version 3.13.1
Version 3.13.1 (2022-02-08)
Fix
- Updated code to properly import correctly
Version 3.13.0
Version 3.13.0 (2022-02-07)
Added
- Added
from_shapelymethod to create annotation types from Shapely objects - Added
startandendfilter on the following methods
Project.export_labels()Project.label_generator()Project.video_label_generator()
- Improved type hinting
Version 3.12.0
Changelog
Version 3.12.0 (2022-01-19)
Added
- Tiled Imagery annotation type
- A set of classes that support Tiled Image assets
- New demo notebook can be found under:
examples/annotation_types/tiled_imagery_basics.ipynb - Updated tiled image mal can be found under:
examples/model_assisted_labeling/tiled_imagery_mal.ipynb
- Support transformations from one EPSG to another with
EPSGTransformerclass
- Supports EPSG to pixel space transformations
Fix
- Added missing packaging lib to requirements
Version 3.11.1
Version 3.11.1 (2022-01-10)
Fix
- Make
TypedArrayclass compatible withnumpyversions>= 1.22.0 project.upsert_review_queuequotas can now be in the inclusive range [0,1]- Restore support for upserting html instructions to a project
Version 3.11.0
Version 3.11.0 (2021-12-15)
Fix
Dataset.create_data_rows()now accepts any iterable of data row creation parameters instead of requiring a listproject.upsert_instructions()- Now only supports pdfs since that is required by the editor
- There was a bug that could cause this function to modify the project ontology
Removed
DataRowMetadataSchema.iduseDataRowMetadataSchema.uidinsteadModelRun.delete_annotation_groups()useModelRun.delete_model_run_data_rows()insteadModelRun.annotation_groups()useModelRun.model_run_data_rows()instead
Version 3.10.0
Version 3.10.0 (2021-11-18)
Added
AnnotationImport.wait_until_done()accepts ashow_progressparam. This is set toFalseby default.- If enabled, a progress bar will indicate the import progress.
- This works for all classes that inherit from AnnotationImport:
LabelImport,MALPredictionImport,MEAPredictionImport - This is not support for
BulkImportRequest(which will eventually be replaced byMALPredictionImport)
Option.labelandOption.valuecan now be set independentlyClassificationAnswers now support a newkeyframefield for videos- New `LBV1Label.media_type field. This is a placeholder for future backend changes.
Fix
- Nested checklists can have extra brackets. This would cause the annotation type converter to break.
Version 3.9.0
Version 3.9.0 (2021-11-12)
Added
- New ontology management features
- Query for ontologies by name with
client.get_ontologies()or by id usingclient.get_ontology() - Query for feature schemas by name with
client.get_feature_schemas()or id usingclient.get_feature_schema() - Create feature schemas with
client.create_feature_schema() - Create ontologies from normalized ontology data with
client.create_ontology() - Create ontologies from feature schemas with
client.create_ontology_from_feature_schemas() - Set up a project from an existing ontology with
project.setup_editor() - Added new
FeatureSchemaentity
- Query for ontologies by name with
- Add support for new queue modes
- Send batches of data rows to a project queue with
project.queue() - Remove items from a project queue with
project.dequeue() - Query for and toggle the queue mode
- Send batches of data rows to a project queue with
Version 3.8.0
Version 3.8.0 (2021-10-22)
Added
ModelRun.upsert_data_rows()- Add data rows to a model run without also attaching labels
OperationNotAllowedException- raised when users hit resource limits or are not allowed to use a particular operation
Updated
ModelRun.upsert_labels()- Blocks until the upsert job is complete. Error messages have been improved
Organization.invite_user()andOrganization.invite_limit()are no longer experimentalAnnotationGroupwas renamed toModelRunDataRowModelRun.delete_annotation_groups()was renamed toModelRun.delete_model_run_data_rows()ModelRun.annotation_groups()was renamed toModelRun.model_run_data_rows()
Fix
DataRowMetadataFieldno longer relies on pydantic for field validation and coercion- This prevents unintended type coercions from occurring
Version 3.7.0
Version 3.7.0 (2021-11-10)
Added
- Search for data row ids from external ids without specifying a dataset
client.get_data_row_ids_for_external_ids()
- Support for numeric metadata type
Updated
- The following
DataRowMetadataOntologyfields were renamed:all_fields->fieldsall_fields_id_index->fields_by_idreserved_id_index->reserved_by_idreserved_name_index->reserved_by_namecustom_id_index->custom_by_idcustom_name_index->custom_by_name
Version 3.6.1
Version 3.6.1 (2021-07-10)
- Fix import error that appears when exporting labels