diff --git a/superset/databases/schemas.py b/superset/databases/schemas.py index 946a179dcb638..93da007ba86f9 100644 --- a/superset/databases/schemas.py +++ b/superset/databases/schemas.py @@ -354,9 +354,8 @@ def validate_parameters( # pylint: disable=no-self-use Validate the DB engine spec specific parameters schema. """ # TODO (aafghahi): Move this onCreate instead of validation - # engine_spec = get_engine_spec(data.get("engine") or data.get("backend")) - # engine_spec.parameters_schema.load(data["parameters"]) # type: ignore - return None + engine_spec = get_engine_spec(data.get("engine") or data.get("backend")) + engine_spec.parameters_schema.load(data["parameters"]) # type: ignore class DatabasePostSchema(Schema, DatabaseParametersSchemaMixin):