File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/superannotate/lib/core/usecases Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ def __init__(
5555 self ._client_s3_bucket = client_s3_bucket
5656 self ._pre_annotation = pre_annotation
5757 self ._templates = templates
58- self ._annotations_to_upload = None
59- self ._missing_annotations = None
58+ self ._annotations_to_upload = []
59+ self ._missing_annotations = []
6060 self ._validators = validators
6161 self .missing_attribute_groups = set ()
6262 self .missing_classes = set ()
@@ -247,12 +247,12 @@ def execute(self):
247247 failed_annotations .append (annotation )
248248 self .reporter .update_progress ()
249249
250- self ._response .data = (
251- uploaded_annotations ,
252- failed_annotations ,
253- [annotation .path for annotation in self ._missing_annotations ],
254- )
255250 self ._log_report ()
251+ self ._response .data = (
252+ uploaded_annotations ,
253+ failed_annotations ,
254+ [annotation .path for annotation in self ._missing_annotations ],
255+ )
256256 return self ._response
257257
258258
You can’t perform that action at this time.
0 commit comments