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 78d5cf8 commit abb02baCopy full SHA for abb02ba
label_studio/data_manager/actions/basic.py
@@ -84,6 +84,8 @@ def delete_tasks_annotations(project, queryset, **kwargs):
84
# take only tasks where annotations were deleted
85
real_task_ids = set(list(annotations.values_list('task__id', flat=True)))
86
annotations_ids = list(annotations.values('id'))
87
+ # remove deleted annotations from project.summary
88
+ project.summary.remove_created_annotations_and_labels(annotations)
89
annotations.delete()
90
emit_webhooks_for_instance(project.organization, project, WebhookAction.ANNOTATIONS_DELETED, annotations_ids)
91
start_job_async_or_sync(bulk_update_stats_project_tasks, queryset.filter(is_labeled=True))
0 commit comments