mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(command): Organize Commands according to SIP-92 (#25850)
This commit is contained in:
@@ -23,17 +23,6 @@ from flask_appbuilder.models.sqla.interface import SQLAInterface
|
||||
from flask_babel import ngettext
|
||||
from marshmallow import ValidationError
|
||||
|
||||
from superset.annotation_layers.commands.create import CreateAnnotationLayerCommand
|
||||
from superset.annotation_layers.commands.delete import DeleteAnnotationLayerCommand
|
||||
from superset.annotation_layers.commands.exceptions import (
|
||||
AnnotationLayerCreateFailedError,
|
||||
AnnotationLayerDeleteFailedError,
|
||||
AnnotationLayerDeleteIntegrityError,
|
||||
AnnotationLayerInvalidError,
|
||||
AnnotationLayerNotFoundError,
|
||||
AnnotationLayerUpdateFailedError,
|
||||
)
|
||||
from superset.annotation_layers.commands.update import UpdateAnnotationLayerCommand
|
||||
from superset.annotation_layers.filters import AnnotationLayerAllTextFilter
|
||||
from superset.annotation_layers.schemas import (
|
||||
AnnotationLayerPostSchema,
|
||||
@@ -41,6 +30,17 @@ from superset.annotation_layers.schemas import (
|
||||
get_delete_ids_schema,
|
||||
openapi_spec_methods_override,
|
||||
)
|
||||
from superset.commands.annotation_layer.create import CreateAnnotationLayerCommand
|
||||
from superset.commands.annotation_layer.delete import DeleteAnnotationLayerCommand
|
||||
from superset.commands.annotation_layer.exceptions import (
|
||||
AnnotationLayerCreateFailedError,
|
||||
AnnotationLayerDeleteFailedError,
|
||||
AnnotationLayerDeleteIntegrityError,
|
||||
AnnotationLayerInvalidError,
|
||||
AnnotationLayerNotFoundError,
|
||||
AnnotationLayerUpdateFailedError,
|
||||
)
|
||||
from superset.commands.annotation_layer.update import UpdateAnnotationLayerCommand
|
||||
from superset.constants import MODEL_API_RW_METHOD_PERMISSION_MAP, RouteMethod
|
||||
from superset.extensions import event_logger
|
||||
from superset.models.annotations import AnnotationLayer
|
||||
|
||||
Reference in New Issue
Block a user