File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ class BoxAnnotation(Annotation): # pylint: disable=R0902
120
120
y : Union [float , int ]
121
121
width : Union [float , int ]
122
122
height : Union [float , int ]
123
- annotation_id : Optional [str ] = None
124
- metadata : Optional [Dict ] = None
125
123
reference_id : Optional [str ] = None
126
124
item_id : Optional [str ] = None
125
+ annotation_id : Optional [str ] = None
126
+ metadata : Optional [Dict ] = None
127
127
128
128
def __post_init__ (self ):
129
129
self ._check_ids ()
@@ -165,10 +165,10 @@ def to_payload(self) -> dict:
165
165
class PolygonAnnotation (Annotation ):
166
166
label : str
167
167
vertices : List [Any ]
168
- annotation_id : Optional [str ] = None
169
- metadata : Optional [Dict ] = None
170
168
reference_id : Optional [str ] = None
171
169
item_id : Optional [str ] = None
170
+ annotation_id : Optional [str ] = None
171
+ metadata : Optional [Dict ] = None
172
172
173
173
def __post_init__ (self ):
174
174
self ._check_ids ()
You can’t perform that action at this time.
0 commit comments