File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,7 @@ def test_dataset_export_autotag_scores(CLIENT):
249
249
250
250
251
251
def test_annotate_async (dataset : Dataset ):
252
+ dataset .append (make_dataset_items ())
252
253
semseg = SegmentationAnnotation .from_json (TEST_SEGMENTATION_ANNOTATIONS [0 ])
253
254
polygon = PolygonAnnotation (** TEST_POLYGON_ANNOTATIONS [0 ])
254
255
bbox = BoxAnnotation (** TEST_BOX_ANNOTATIONS [0 ])
@@ -259,6 +260,28 @@ def test_annotate_async(dataset: Dataset):
259
260
asynchronous = True ,
260
261
)
261
262
job .sleep_until_complete ()
263
+ {
264
+ "job_id" : "job_c2r16b9vcz50048tk5k0" ,
265
+ "status" : "Completed" ,
266
+ "message" : {
267
+ "annotation_upload" : {
268
+ "epoch" : 1 ,
269
+ "total" : 2 ,
270
+ "errored" : 0 ,
271
+ "ignored" : 0 ,
272
+ "datasetId" : "ds_c2r16asgc3s009hs5jzg" ,
273
+ "processed" : 0 ,
274
+ },
275
+ "segmentation_upload" : {
276
+ "errors" : [
277
+ "Item not found for reference ID airplane.png in dataset ds_c2r16asgc3s009hs5jzg!"
278
+ ],
279
+ "ignored" : 0 ,
280
+ "n_errors" : 1 ,
281
+ "processed" : 0 ,
282
+ },
283
+ },
284
+ }
262
285
263
286
assert job .status () == {
264
287
"job_id" : job .id ,
You can’t perform that action at this time.
0 commit comments