mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: cleanup ssh tunnel (#34388)
This commit is contained in:
@@ -88,7 +88,7 @@ class ExportDatabasesCommand(ExportModelsCommand):
|
||||
"schemas_allowed_for_file_upload"
|
||||
)
|
||||
|
||||
if ssh_tunnel := DatabaseDAO.get_ssh_tunnel(model.id):
|
||||
if ssh_tunnel := model.ssh_tunnel:
|
||||
ssh_tunnel_payload = ssh_tunnel.export_to_dict(
|
||||
recursive=False,
|
||||
include_parent_ref=False,
|
||||
|
||||
Reference in New Issue
Block a user