Skip to content

Commit

Permalink
Update superset/db_engine_specs/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
  • Loading branch information
eschutho and betodealmeida committed Aug 12, 2021
1 parent 77c650a commit f153982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/db_engine_specs/base.py
Expand Up @@ -1411,7 +1411,7 @@ def build_sqlalchemy_uri(
encryted_extra: Optional[Dict[str, str]] = None,
) -> str:
# make a copy so that we don't update the original
query = dict(parameters.get("query", {}))
query = parameters.get("query", {}).copy()
if parameters.get("encryption"):
if not cls.encryption_parameters:
raise Exception("Unable to build a URL with encryption enabled")
Expand Down

0 comments on commit f153982

Please sign in to comment.