You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2022/11/30 19:31:26 UTC

[superset] 05/08: SSH Tunnel:

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch ssh-tunnel-testing
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 09e59c1670247c5f02dc061027ef8ebb9a6c03e0
Author: Antonio Rivero <an...@gmail.com>
AuthorDate: Mon Nov 28 10:19:02 2022 -0300

    SSH Tunnel:
    
    - FIx linting errors
---
 superset/databases/api.py             | 1 -
 superset/databases/commands/create.py | 2 --
 2 files changed, 3 deletions(-)

diff --git a/superset/databases/api.py b/superset/databases/api.py
index 9cab40ede4..92b9635fd8 100644
--- a/superset/databases/api.py
+++ b/superset/databases/api.py
@@ -72,7 +72,6 @@ from superset.databases.schemas import (
     ValidateSQLRequest,
     ValidateSQLResponse,
 )
-from superset.databases.ssh_tunnel.commands.create import CreateSSHTunnelCommand
 from superset.databases.ssh_tunnel.commands.delete import DeleteSSHTunnelCommand
 from superset.databases.ssh_tunnel.commands.exceptions import (
     SSHTunnelDeleteFailedError,
diff --git a/superset/databases/commands/create.py b/superset/databases/commands/create.py
index 421e060a4b..ad8fa3a450 100644
--- a/superset/databases/commands/create.py
+++ b/superset/databases/commands/create.py
@@ -31,9 +31,7 @@ from superset.databases.commands.exceptions import (
 )
 from superset.databases.commands.test_connection import TestConnectionDatabaseCommand
 from superset.databases.dao import DatabaseDAO
-from superset.databases.ssh_tunnel.commands.exceptions import SSHTunnelInvalidError
 from superset.databases.ssh_tunnel.dao import SSHTunnelDAO
-from superset.databases.ssh_tunnel.models import SSHTunnel
 from superset.exceptions import SupersetErrorsException
 from superset.extensions import db, event_logger, security_manager