Skip to content

Commit 9c5e829

Browse files
authored
Merge pull request #1023 from Labelbox/kopreschko/prep_3.42.0
Preparing for 3.42.0 release
2 parents 6d317cb + 70fe282 commit 9c5e829

File tree

6 files changed

+42
-16
lines changed

6 files changed

+42
-16
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
# Version 3.42.0 (2023-03-22)
4+
5+
## Added
6+
* Message based classifications with annotation types for conversations
7+
* Video and raster segmentation annotation types
8+
* Global key support to `ConversationEntity`, `DocumentEntity` and `DicomSegments`
9+
* DICOM polyline annotation type
10+
* Confidence attribute to classification annotations
11+
12+
## Changed
13+
* Increased metadata string size limit to 4096 chars
14+
* Removed `deletedDataRowGlobalKey` from `get_data_row_ids_for_global_keys()`
15+
16+
## Fixed
17+
* Annotation data type coercion by Pydantic
18+
* Error message when end point coordinates are smaller than start point coordinates
19+
* Some typos in error messages
20+
21+
## Notebooks
22+
* Refactored video notebook to include annotation types
23+
* Replaced data row ids with global keys in notebooks
24+
* Replaced `create_data_row` with `create_data_rows` in notebooks
25+
326
# Version 3.41.0 (2023-03-15)
427

528
## Added

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
copyright = '2021, Labelbox'
2222
author = 'Labelbox'
2323

24-
release = '3.41.0'
24+
release = '3.42.0'
2525

2626
# -- General configuration ---------------------------------------------------
2727

labelbox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "labelbox"
2-
__version__ = "3.41.0"
2+
__version__ = "3.42.0"
33

44
from labelbox.client import Client
55
from labelbox.schema.project import Project

labelbox/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ def create_ontology(self, name, normalized, media_type=None) -> Ontology:
11001100
11011101
To reuse existing feature schemas, use `create_ontology_from_feature_schemas()`
11021102
More details can be found here:
1103-
https://github.com/Labelbox/labelbox-python/blob/develop/examples/basics/ontologies.ipynb
1103+
https://github.com/Labelbox/labelbox-python/blob/develop/examples/basics/ontologies.ipynb
11041104
11051105
Args:
11061106
name (str): Name of the ontology

labelbox/orm/db_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class Updateable:
201201
def update(self, **kwargs):
202202
""" Updates this DB object with new values. Values should be
203203
passed as key-value arguments with field names as keys:
204-
>>> db_object.update(name="New name", title="A title")
204+
>>> db_object.update(name="New name", title="A title")
205205
206206
Kwargs:
207207
Key-value arguments defining which fields should be updated

labelbox/schema/project.py

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,18 @@ def update(self, **kwargs):
125125
Note that the queue_mode cannot be changed after a project has been created.
126126
127127
Additionally, the quality setting cannot be changed after a project has been created. The quality mode
128-
for a project is inferred through the following attributes:
129-
Benchmark:
130-
auto_audit_number_of_labels = 1
131-
auto_audit_percentage = 1.0
132-
Consensus:
133-
auto_audit_number_of_labels > 1
134-
auto_audit_percentage <= 1.0
135-
Attempting to switch between benchmark and consensus modes is an invalid operation and will result
136-
in an error.
128+
for a project is inferred through the following attributes:
129+
130+
Benchmark:
131+
auto_audit_number_of_labels = 1
132+
auto_audit_percentage = 1.0
133+
134+
Consensus:
135+
auto_audit_number_of_labels > 1
136+
auto_audit_percentage <= 1.0
137+
138+
Attempting to switch between benchmark and consensus modes is an invalid operation and will result
139+
in an error.
137140
"""
138141

139142
media_type = kwargs.get("media_type")
@@ -151,7 +154,7 @@ def members(self) -> PaginatedCollection:
151154
""" Fetch all current members for this project
152155
153156
Returns:
154-
A `PaginatedCollection of `ProjectMember`s
157+
A `PaginatedCollection` of `ProjectMember`s
155158
156159
"""
157160
id_param = "projectId"
@@ -1245,7 +1248,7 @@ def batches(self) -> PaginatedCollection:
12451248
""" Fetch all batches that belong to this project
12461249
12471250
Returns:
1248-
A `PaginatedCollection of `Batch`es
1251+
A `PaginatedCollection` of `Batch`es
12491252
"""
12501253
id_param = "projectId"
12511254
query_str = """query GetProjectBatchesPyApi($from: String, $first: PageSize, $%s: ID!) {
@@ -1263,7 +1266,7 @@ def task_queues(self) -> List[TaskQueue]:
12631266
""" Fetch all task queues that belong to this project
12641267
12651268
Returns:
1266-
A `List of `TaskQueue`s
1269+
A `List` of `TaskQueue`s
12671270
"""
12681271
query_str = """query GetProjectTaskQueuesPyApi($projectId: ID!) {
12691272
project(where: {id: $projectId}) {

0 commit comments

Comments
 (0)