Skip to content

Commit f9d33db

Browse files
authored
Merge pull request #245 from superannotateai/df_aggregate_new_fields
Df aggregate new fields
2 parents 413b8a0 + 0676adb commit f9d33db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/superannotate/lib/app/analytics/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ def aggregate_annotations_as_df(
212212
"updatorRole": [],
213213
"updatorEmail": [],
214214
"folderName": [],
215+
"imageAnnotator": [],
216+
"imageQA": [],
215217
}
216218

217219
if include_comments:
@@ -255,6 +257,8 @@ def __get_image_metadata(image_name, annotations):
255257
image_metadata["imageWidth"] = annotations["metadata"].get("width")
256258
image_metadata["imageStatus"] = annotations["metadata"].get("status")
257259
image_metadata["imagePinned"] = annotations["metadata"].get("pinned")
260+
image_metadata["imageAnnotator"] = annotations["metadata"].get("annotatorEmail")
261+
image_metadata["imageQA"] = annotations["metadata"].get("qaEmail")
258262
return image_metadata
259263

260264
def __get_user_metadata(annotation):

0 commit comments

Comments
 (0)