mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
change to 422 for stop query (#17292)
This commit is contained in:
@@ -233,4 +233,4 @@ class InvalidPayloadSchemaError(SupersetErrorException):
|
||||
|
||||
|
||||
class SupersetCancelQueryException(SupersetException):
|
||||
pass
|
||||
status = 422
|
||||
|
||||
@@ -2347,6 +2347,7 @@ class Superset(BaseSupersetView): # pylint: disable=too-many-public-methods
|
||||
)
|
||||
|
||||
@has_access_api
|
||||
@handle_api_exception
|
||||
@expose("/stop_query/", methods=["POST"])
|
||||
@event_logger.log_this
|
||||
@backoff.on_exception(
|
||||
|
||||
Reference in New Issue
Block a user