File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ # Version 2.7b1+mea (2021-06-27)
4+ ## Fix
5+ * No longer convert ` ModelRun.created_by_id ` to cuid on construction of a ` ModelRun ` .
6+ * This was causing queries for ModelRuns to fail.
7+
38# Version 2.7b0+mea (2021-06-27)
49## Fix
510* Update ` AnnotationGroup ` to expect labelId to be a cuid instead of uuid.
Original file line number Diff line number Diff line change 11name = "labelbox"
2- __version__ = "2.7b0 "
2+ __version__ = "2.7b1 "
33
44from labelbox .client import Client
55from labelbox .schema .model import Model
Original file line number Diff line number Diff line change 11from typing import Dict , Iterable , Union
22from pathlib import Path
33
4- from labelbox .utils import uuid_to_cuid
54from labelbox .pagination import PaginatedCollection
65from labelbox .schema .annotation_import import MEAPredictionImport
76from labelbox .orm .query import results_query_part
@@ -16,10 +15,6 @@ class ModelRun(DbObject):
1615 created_by_id = Field .String ("created_by_id" , "createdBy" )
1716 model_id = Field .String ("model_id" )
1817
19- def __init__ (self , client , field_values ):
20- field_values ['createdBy' ] = uuid_to_cuid (field_values ['createdBy' ])
21- super ().__init__ (client , field_values )
22-
2318 def upsert_labels (self , label_ids ):
2419
2520 if len (label_ids ) < 1 :
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ def test_labels(label_pack):
3131 assert list (data_row .labels ()) == []
3232
3333
34-
3534def test_label_export (configured_project_with_label ):
3635 project = configured_project_with_label
3736 exported_labels_url = project .export_labels ()
You can’t perform that action at this time.
0 commit comments