diff --git a/superset/databases/api.py b/superset/databases/api.py index 8e6219fa7988e..5d307c458a531 100644 --- a/superset/databases/api.py +++ b/superset/databases/api.py @@ -919,6 +919,9 @@ def available(self) -> Response: preferred_databases: List[str] = app.config.get("PREFERRED_DATABASES", []) available_databases = [] for engine_spec, drivers in get_available_engine_specs().items(): + if not drivers: + continue + payload: Dict[str, Any] = { "name": engine_spec.engine_name, "engine": engine_spec.engine,