From c70952652105d766733babb6f3df6750a58a68ba Mon Sep 17 00:00:00 2001 From: Josh Wills Date: Thu, 10 Oct 2024 07:43:26 -0700 Subject: [PATCH] Linting fixes for PR #456 --- dbt/adapters/duckdb/secrets.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dbt/adapters/duckdb/secrets.py b/dbt/adapters/duckdb/secrets.py index 71446382..46a7ff39 100644 --- a/dbt/adapters/duckdb/secrets.py +++ b/dbt/adapters/duckdb/secrets.py @@ -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"] ]