We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d426c86 commit fa1e9c9Copy full SHA for fa1e9c9
superset/commands/database/validate_sql.py
@@ -63,7 +63,7 @@ def run(self) -> list[dict[str, Any]]:
63
sql = self._properties["sql"]
64
catalog = self._properties.get("catalog")
65
schema = self._properties.get("schema")
66
- template_params = self._properties.get("template_params", {})
+ template_params = self._properties.get("template_params") or {}
67
68
# Render Jinja templates to handle template syntax before validation
69
template_processor = get_template_processor(self._model)
0 commit comments