Skip to content

Commit f80213f

Browse files
author
Matt Sokoloff
committed
Merge branch 'develop' of https://github.com/Labelbox/labelbox-python into DIAG-891-parallel
2 parents 1d57a21 + 4071dc2 commit f80213f

39 files changed

+1245
-693
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ ipython_config.py
8383
# pyenv
8484
.python-version
8585

86+
# vscode
87+
.vscode
88+
8689
# pipenv
8790
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
8891
# However, in case of collaboration, if having platform-specific dependencies or dependencies

CHANGELOG.md

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,40 @@
33
## Deprecation Notice
44
| Name | Replacement | Removed After |
55
| ------------------------------------- | ------------------------------------- | ------------- |
6-
| `ModelRun.delete_annotation_groups()` | `ModelRun.delete_model_run_data_rows()`| 3.9 |
7-
| `ModelRun.annotation_groups()` | `ModelRun.model_run_data_rows()` | 3.9 |
8-
| `DataRowMetadataSchema.id` | `DataRowMetadataSchema.uid` | 3.9 |
6+
| `ModelRun.delete_annotation_groups()` | `ModelRun.delete_model_run_data_rows()`| 2021-12-06 |
7+
| `ModelRun.annotation_groups()` | `ModelRun.model_run_data_rows()` | 2021-12-06 |
8+
| `DataRowMetadataSchema.id` | `DataRowMetadataSchema.uid` | 2021-12-06 |
99
-----
1010

11+
# Version 3.10.0 (2021-11-18)
12+
## Added
13+
* `AnnotationImport.wait_until_done()` accepts a `show_progress` param. This is set to `False` by default.
14+
* If enabled, a tqdm progress bar will indicate the import progress.
15+
* This works for all classes that inherit from AnnotationImport: `LabelImport`, `MALPredictionImport`, `MEAPredictionImport`
16+
* This is not support for `BulkImportRequest` (which will eventually be replaced by `MALPredictionImport`)
17+
* `Option.label` and `Option.value` can now be set independently
18+
* `ClassificationAnswer`s now support a new `keyframe` field for videos
19+
* New `LBV1Label.media_type field. This is a placeholder for future backend changes.
20+
21+
## Fix
22+
* Nested checklists can have extra brackets. This would cause the annotation type converter to break.
23+
24+
25+
# Version 3.9.0 (2021-11-12)
26+
## Added
27+
* New ontology management features
28+
* Query for ontologies by name with `client.get_ontologies()` or by id using `client.get_ontology()`
29+
* Query for feature schemas by name with `client.get_feature_schemas()` or id using `client.get_feature_schema()`
30+
* Create feature schemas with `client.create_feature_schemas()`
31+
* Create ontologies from normalized ontology data with `client.create_ontology()`
32+
* Create ontologies from feature schemas with `client.create_ontology_from_feature_schemas()`
33+
* Set up a project from an existing ontology with `project.setup_edior()`
34+
* Added new `FeatureSchema` entity
35+
* Add support for new queue modes
36+
* Send batches of data directly to a project queue with `project.queue()`
37+
* Remove items from a project queue with `project.dequeue()`
38+
* Query for and toggle the queue mode
39+
1140
# Version 3.8.0 (2021-10-22)
1241
## Added
1342
* `ModelRun.upsert_data_rows()`

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ The package `rasterio` installed by `labelbox[data]` relies on GDAL which could
5757
You may see the following error message:
5858

5959
```
60-
INFO:root:Building on Windows requires extra options to setup.py to locate needed GDAL files. More information is available in the README.
60+
INFO:root:Building on Windows requires extra options to setup.py to locate needed GDAL files. More information is available in the README.
6161
62-
ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
62+
ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.
6363
```
6464

6565
As a workaround:
@@ -72,7 +72,7 @@ As a workaround:
7272

7373
Note: You need to download the right files for your Python version. In the files above `cp38` means CPython 3.8.
7474

75-
2. After downloading the files, please run the following commands, in this particular order.
75+
2. After downloading the files, please run the following commands, in this particular order.
7676

7777
```
7878
pip install GDAL‑3.3.2‑cp38‑cp38‑win_amd64.wh

docs/source/index.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,23 @@ Enums
154154
:members:
155155
:show-inheritance:
156156

157+
ModelRun
158+
----------------------------
159+
160+
.. automodule:: labelbox.schema.model_run
161+
:members:
162+
:show-inheritance:
163+
164+
Model
165+
----------------------------
166+
167+
.. automodule:: labelbox.schema.model
168+
:members:
169+
:show-inheritance:
170+
171+
DataRowMetadata
172+
----------------------------
173+
174+
.. automodule:: labelbox.schema.data_row_metadata
175+
:members:
176+
:show-inheritance:

0 commit comments

Comments
 (0)