File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def construct_segmentation_payload(
52
52
for annotation_item in annotation_items :
53
53
annotations .append (annotation_item .to_payload ())
54
54
55
- return {SEGMENTATIONS_KEY : annotations , "force" : update }
55
+ return {SEGMENTATIONS_KEY : annotations , ANNOTATION_UPDATE_KEY : update }
56
56
57
57
58
58
def construct_box_predictions_payload (
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def test_batch_semseg_gt_upload_update(dataset):
123
123
assert response ["annotations_processed" ] == 5
124
124
assert response ["annotations_ignored" ] == 0
125
125
126
- # When we re-upload, expect them to be ignored
126
+ # When we re-upload, expect uploads to be processed
127
127
response = dataset .annotate (annotations = annotations , update = True )
128
128
assert response ["dataset_id" ] == dataset .id
129
129
assert response ["annotations_processed" ] == 5
You can’t perform that action at this time.
0 commit comments