Skip to content

Commit 252859d

Browse files
Merge pull request #951 from Labelbox/develop
Release 3.39.0
2 parents 5c3fe80 + 6816ffa commit 252859d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1715
-1069
lines changed

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,31 @@
11
# Changelog
2+
3+
# Version 3.40.0 (YYYY-MM-DD)
4+
5+
## Added
6+
* Upsert data rows to model runs using global keys
7+
8+
# Version 3.39.0 (2023-02-28)
9+
## Added
10+
* New method `Project.task_queues()` to obtain the task queues for a project.
11+
* New method `Project.move_data_rows_to_task_queue()` for moving data rows to a specified task queue.
12+
* Added more descriptive error messages for metadata operations
13+
* Added `Task.errors_url` for async tasks that return errors as separate file (e.g. `export_v2`)
14+
15+
## Changed
16+
* Updated `ProjectExportParams.labels` to `ProjectExportParams.label_details`
17+
* Removed `media_attributes` from `DataRowParams`
18+
* Added deprecation warnings for `LabelList` and removed its usage
19+
* Removed unused arguments in `Project.export_v2` and `ModelRun.export_v2`
20+
21+
## Notebooks
22+
* Fixed `examples/label_export/images.ipynb` notebook metadata
23+
* Removed unused `lb_serializer` imports
24+
* Removed uuid generation in NDJson annotation payloads, as it is now optional
25+
* Removed custom embeddings usage in `examples/basics/data_row_metadata.ipynb`
26+
* New notebook `examples/basics/custom_embeddings.ipynb` for custom embeddings
27+
* Updated `examples/annotation_import/text.ipynb` to use `TextData` and specify Text media type
28+
229
# Version 3.38.0 (2023-02-15)
330

431
## Added
@@ -14,7 +41,6 @@
1441
* Fixed nested classification in examples/annotation_import/image.ipynb
1542
* Ontology (instructions --> name)
1643

17-
1844
# Version 3.37.0 (2023-02-08)
1945
## Added
2046
* New `last_activity_start` param to `project.export_labels()` for filtering which labels are exported. See docstring for more on how this works.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pip3 install -r requirements.txt
5454
To install dependencies required for data processing modules use:
5555

5656
```
57-
pip install labelbox[data]
57+
pip install "labelbox[data]"
5858
```
5959

6060
## Documentation

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.38.0'
24+
release = '3.39.0'
2525

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

docs/source/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ Task
118118
:members:
119119
:show-inheritance:
120120

121+
Task Queue
122+
---------------------------
123+
.. automodule:: labelbox.schema.task_queue
124+
:members:
125+
:show-inheritance:
126+
121127
User
122128
---------------------------
123129

examples/annotation_import/conversational.ipynb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@
383383
" checklist_annotation,\n",
384384
" radio_annotation]:\n",
385385
" annotations.update({\n",
386-
" 'uuid': str(uuid.uuid4()),\n",
387386
" 'dataRow': {\n",
388387
" 'id': data_row.uid\n",
389388
" }\n",
@@ -407,23 +406,19 @@
407406
"[{'name': 'ner',\n",
408407
" 'location': {'start': 0, 'end': 8},\n",
409408
" 'messageId': '4',\n",
410-
" 'uuid': 'ce5805b9-1353-432e-9f7a-38cdfa901d5d',\n",
411409
" 'dataRow': {'id': 'clc0ygvde029307yn96gv2byu'}},\n",
412410
" {'name': 'text_convo',\n",
413411
" 'answer': 'the answer to the text questions right here',\n",
414412
" 'messageId': '0',\n",
415-
" 'uuid': '2852bb2d-9355-42df-bb95-3db48247cbf7',\n",
416413
" 'dataRow': {'id': 'clc0ygvde029307yn96gv2byu'}},\n",
417414
" {'name': 'checklist_convo',\n",
418415
" 'answers': [{'name': 'first_checklist_answer'},\n",
419416
" {'name': 'second_checklist_answer'}],\n",
420417
" 'messageId': '2',\n",
421-
" 'uuid': '623fa806-166e-436b-8d1b-dbdc30f23ee5',\n",
422418
" 'dataRow': {'id': 'clc0ygvde029307yn96gv2byu'}},\n",
423419
" {'name': 'radio_convo',\n",
424420
" 'answer': {'name': 'first_radio_answer'},\n",
425421
" 'messageId': '0',\n",
426-
" 'uuid': 'a256e84a-5012-4fd4-833f-637935a22fd4',\n",
427422
" 'dataRow': {'id': 'clc0ygvde029307yn96gv2byu'}}]"
428423
]
429424
},

examples/annotation_import/image.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@
8484
"metadata": {},
8585
"source": [
8686
"import labelbox as lb\n",
87-
"import labelbox.data.annotation_types as lb_types\n",
88-
"import labelbox.data.serialization as lb_serializers\n",
87+
"import labelbox.types as lb_types\n",
8988
"import uuid\n",
9089
"import numpy as np\n"
9190
],
@@ -773,7 +772,6 @@
773772
"\n",
774773
" ]:\n",
775774
" annotation.update({\n",
776-
" 'uuid': str(uuid.uuid4()),\n",
777775
" 'dataRow': {'id': data_row.uid},\n",
778776
" })\n",
779777
" label_ndjson_method2.append(annotation)\n"

examples/annotation_import/pdf.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@
208208
"metadata": {},
209209
"source": [
210210
"ANNOTATION = {\n",
211-
" \"uuid\": str(uuid.uuid4()),\n",
212211
" \"name\" : tool_name,\n",
213212
" \"dataRow\": {\"id\": data_row_id.uid},\n",
214213
" \"textSelections\": [\n",

0 commit comments

Comments
 (0)