From 9fccea17eb798059bda43c11960d988fcb79970e Mon Sep 17 00:00:00 2001 From: Kevin Kim Date: Wed, 15 Jun 2022 13:22:33 -0700 Subject: [PATCH 1/2] Prep 3.23.2 release --- CHANGELOG.md | 5 +++++ labelbox/__init__.py | 2 +- labelbox/schema/data_row.py | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1aa0796a..184f6a79f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +# Version 3.23.2 (2022-06-15) +## Added +* `Data Row` object now has a new field, `metadata`, which returns metadata associated with data row as a list of `DataRowMetadataField` + * Note: This field is read-only. Any metadata import should be done using the existing field, `metadata_fields` + # Version 3.23.1 (2022-06-08) ## Added * `Task` objects now have the following properties: diff --git a/labelbox/__init__.py b/labelbox/__init__.py index 99b95bc5c..756669497 100644 --- a/labelbox/__init__.py +++ b/labelbox/__init__.py @@ -1,5 +1,5 @@ name = "labelbox" -__version__ = "3.23.1" +__version__ = "3.23.2" from labelbox.client import Client from labelbox.schema.project import Project diff --git a/labelbox/schema/data_row.py b/labelbox/schema/data_row.py index 76ee4bfcf..812da2a06 100644 --- a/labelbox/schema/data_row.py +++ b/labelbox/schema/data_row.py @@ -23,7 +23,9 @@ class DataRow(DbObject, Updateable, BulkDeletable): created_at (datetime) media_attributes (dict): generated media attributes for the data row metadata_fields (list): metadata associated with the data row - metadata (list): metadata associated with the data row as list of DataRowMetadataField + metadata (list): metadata associated with the data row as list of DataRowMetadataField. + This field is read-only. Any metadata import should be done using the existing + field, `metadata_fields` dataset (Relationship): `ToOne` relationship to Dataset created_by (Relationship): `ToOne` relationship to User From 7ce35f96837b3a0d09c4ee00797db1f25b7eafb3 Mon Sep 17 00:00:00 2001 From: Kevin Kim Date: Wed, 15 Jun 2022 13:47:34 -0700 Subject: [PATCH 2/2] Changing wording --- CHANGELOG.md | 2 +- labelbox/schema/data_row.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 184f6a79f..e87a4eb40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ # Version 3.23.2 (2022-06-15) ## Added * `Data Row` object now has a new field, `metadata`, which returns metadata associated with data row as a list of `DataRowMetadataField` - * Note: This field is read-only. Any metadata import should be done using the existing field, `metadata_fields` + * Note: When importing Data Rows with metadata, use the existing field, `metadata_fields` # Version 3.23.1 (2022-06-08) ## Added diff --git a/labelbox/schema/data_row.py b/labelbox/schema/data_row.py index 812da2a06..fa5ace8f9 100644 --- a/labelbox/schema/data_row.py +++ b/labelbox/schema/data_row.py @@ -24,8 +24,7 @@ class DataRow(DbObject, Updateable, BulkDeletable): media_attributes (dict): generated media attributes for the data row metadata_fields (list): metadata associated with the data row metadata (list): metadata associated with the data row as list of DataRowMetadataField. - This field is read-only. Any metadata import should be done using the existing - field, `metadata_fields` + When importing Data Rows with metadata, use `metadata_fields` instead dataset (Relationship): `ToOne` relationship to Dataset created_by (Relationship): `ToOne` relationship to User