chore(command): Condense delete/bulk-delete operations (#24607)

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit a156816064)
This commit is contained in:
John Bodley
2023-07-12 15:45:29 -07:00
committed by Michael S. Molina
parent 7243332082
commit 49605e763c
35 changed files with 123 additions and 538 deletions

View File

@@ -48,10 +48,6 @@ class AnnotationUniquenessValidationError(ValidationError):
)
class AnnotationBulkDeleteFailedError(DeleteFailedError):
message = _("Annotations could not be deleted.")
class AnnotationNotFoundError(CommandException):
message = _("Annotation not found.")
@@ -68,5 +64,5 @@ class AnnotationUpdateFailedError(CreateFailedError):
message = _("Annotation could not be updated.")
class AnnotationDeleteFailedError(CommandException):
message = _("Annotation delete failed.")
class AnnotationDeleteFailedError(DeleteFailedError):
message = _("Annotations could not be deleted.")