We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a3bc9 commit b11bc13Copy full SHA for b11bc13
tests/data/serialization/labelbox_v1/test_image.py
@@ -22,6 +22,7 @@ def test_image(file_path):
22
23
# We are storing the media types now.
24
payload['media_type'] = 'image'
25
+ payload['Global Key'] = None
26
27
assert serialized.keys() == payload.keys()
28
@@ -31,6 +32,8 @@ def test_image(file_path):
31
32
elif key == 'Label':
33
for annotation_a, annotation_b in zip(serialized[key]['objects'],
34
payload[key]['objects']):
35
+ annotation_b['page'] = None
36
+ annotation_b['unit'] = None
37
if not len(annotation_a['classifications']):
38
# We don't add a classification key to the payload if there is no classifications.
39
annotation_a.pop('classifications')
0 commit comments