mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
feat: add slackv2 notification (#29264)
This commit is contained in:
committed by
GitHub
parent
c0d46eb1af
commit
6dbfe2aab9
@@ -24,6 +24,17 @@ class NotificationError(SupersetException):
|
||||
"""
|
||||
|
||||
|
||||
class SlackV1NotificationError(SupersetException):
|
||||
"""
|
||||
Report should not be run with the slack v1 api
|
||||
"""
|
||||
|
||||
message = """Report should not be run with the Slack V1 api.
|
||||
Attempting to run with V2 if required Slack scopes are available"""
|
||||
|
||||
status = 422
|
||||
|
||||
|
||||
class NotificationParamException(SupersetException):
|
||||
status = 422
|
||||
|
||||
|
||||
Reference in New Issue
Block a user