Skip to content

Commit 90c22ee

Browse files
authored
Merge pull request #547 from Labelbox/develop
3.19.1
2 parents c6f2554 + b2b675d commit 90c22ee

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

CHANGELOG.md

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

3+
# Version 3.19.1 (2022-04-14)
4+
## Fix
5+
* `create_data_rows` and `create_data_rows_sync` now uploads the file with a mimetype
6+
* Orgs that only allow DA uploads were getting errors when using these functions
7+
38
# Version 3.19.0 (2022-04-12)
49
## Added
510
* Added Tool object type RASTER_SEGMENTATION for Video and DICOM ontologies
@@ -37,7 +42,7 @@
3742
* Ability to fetch a model run with `client.get_model_run()`
3843
* Ability to fetch labels from a model run with `model_run.export_labels()`
3944
- Note: this is only Experimental. To use, client param `enable_experimental` should
40-
be set to true
45+
be set to true
4146
* Ability to delete an attachment
4247

4348
## Fix
@@ -47,34 +52,34 @@
4752
* Deprecation: Creating Dropdowns will no longer be supported after 2022-03-31
4853
- This includes creating/adding Dropdowns to an ontology
4954
- This includes creating/adding Dropdown Annotation Type
50-
- For the same functionality, use Radio
55+
- For the same functionality, use Radio
5156
- This will not affect existing Dropdowns
5257

5358
# Changelog
54-
# Version 3.15.0 (2022-02-28)
55-
## Added
59+
# Version 3.15.0 (2022-02-28)
60+
## Added
5661
* Extras folder which contains useful applications using the sdk
5762
* Addition of ResourceTag at the Organization and Project level
58-
* Updates to the example notebooks
63+
* Updates to the example notebooks
5964

6065
## Fix
6166
* EPSGTransformer now properly transforms Polygon to Polygon
6267
* VideoData string representation now properly shows VideoData
6368

6469

65-
# Version 3.14.0 (2022-02-10)
66-
## Added
67-
* Updated metrics for classifications to be per-answer
70+
# Version 3.14.0 (2022-02-10)
71+
## Added
72+
* Updated metrics for classifications to be per-answer
6873

6974

70-
# Version 3.13.0 (2022-02-07)
75+
# Version 3.13.0 (2022-02-07)
7176
## Added
7277
* Added `from_shapely` method to create annotation types from Shapely objects
7378
* Added `start` and `end` filter on the following methods
7479
- `Project.export_labels()`
7580
- `Project.label_generator()`
7681
- `Project.video_label_generator()`
77-
* Improved type hinting
82+
* Improved type hinting
7883

7984

8085
# Version 3.12.0 (2022-01-19)

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.19.0"
2+
__version__ = "3.19.1"
33

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

labelbox/schema/dataset.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@ def convert_item(item):
314314
items = [future.result() for future in as_completed(futures)]
315315
# Prepare and upload the desciptor file
316316
data = json.dumps(items)
317-
return self.client.upload_data(data)
317+
return self.client.upload_data(data,
318+
content_type="application/json",
319+
filename="json_import.json")
318320

319321
def data_rows_for_external_id(self,
320322
external_id,

0 commit comments

Comments
 (0)