feat: add slackv2 notification (#29264)

This commit is contained in:
Elizabeth Thompson
2024-07-17 15:14:32 -07:00
committed by GitHub
parent c0d46eb1af
commit 6dbfe2aab9
33 changed files with 1667 additions and 556 deletions

View File

@@ -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