File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
src/superannotate/lib/core Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -4642,24 +4642,6 @@ def execute(self):
46424642 folder_id = self ._folder_id ,
46434643 images = self ._images [i : i + self ._chunk_size ],
46444644 )
4645- res += [
4646- ImageEntity (
4647- uuid = image ["id" ],
4648- name = image ["name" ],
4649- path = image ["name" ],
4650- project_id = image ["project_id" ],
4651- team_id = image ["team_id" ],
4652- annotation_status_code = image ["annotation_status" ],
4653- folder_id = image ["folder_id" ],
4654- annotator_id = image ["annotator_id" ],
4655- annotator_name = image ["annotator_name" ],
4656- qa_id = image ["qa_id" ],
4657- qa_name = image ["qa_name" ],
4658- entropy_value = image ["entropy_value" ],
4659- approval_status = image ["approval_status" ],
4660- is_pinned = image ["is_pinned" ],
4661- )
4662- for image in images
4663- ]
4645+ res += [ImageEntity .from_dict (** image ) for image in images ]
46644646 self ._response .data = res
46654647 return self ._response
You can’t perform that action at this time.
0 commit comments