Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HTTP secret extra_http_headers #456

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Support HTTP secret extra_http_headers
  • Loading branch information
dvic authored Oct 8, 2024
commit 52d9620a7996c0e30d5c425e2697b6d4aaa0b072
2 changes: 1 addition & 1 deletion dbt/adapters/duckdb/secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ 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"] 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
Loading