Skip to content

Commit

Permalink
Merge pull request #460 from duckdb/jwills_lint_for_456
Browse files Browse the repository at this point in the history
Linting fixes for PR #456
  • Loading branch information
jwills authored Oct 10, 2024
2 parents db95b91 + c709526 commit b490f6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dbt/adapters/duckdb/secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def to_sql(self) -> str:
params.update(params.pop("secret_kwargs", {}))
params_sql = f",\n{tab}".join(
[
f"{key} '{value}'" if key not in ["type", "provider", "extra_http_headers"] else f"{key} {value}"
f"{key} '{value}'"
if key not in ["type", "provider", "extra_http_headers"]
else f"{key} {value}"
for key, value in params.items()
if value is not None and key not in ["name", "persistent"]
]
Expand Down

0 comments on commit b490f6e

Please sign in to comment.