mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat(ssh_tunnel): Add feature flag to SSH Tunnel API (#22805)
This commit is contained in:
committed by
GitHub
parent
0045816772
commit
d6a4a5da79
@@ -46,6 +46,11 @@ class SSHTunnelCreateFailedError(CommandException):
|
||||
message = _("Creating SSH Tunnel failed for an unknown reason")
|
||||
|
||||
|
||||
class SSHTunnelingNotEnabledError(CommandException):
|
||||
status = 400
|
||||
message = _("SSH Tunneling is not enabled")
|
||||
|
||||
|
||||
class SSHTunnelRequiredFieldValidationError(ValidationError):
|
||||
def __init__(self, field_name: str) -> None:
|
||||
super().__init__(
|
||||
|
||||
Reference in New Issue
Block a user