mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
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:
committed by
Michael S. Molina
parent
7243332082
commit
49605e763c
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user