From 19b9f4d36b00782430016e7f28acd2163a1ac9fd Mon Sep 17 00:00:00 2001 From: eric wang Date: Tue, 19 Nov 2024 11:38:13 -0800 Subject: [PATCH] fix test --- dbt/adapters/databricks/api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/adapters/databricks/api_client.py b/dbt/adapters/databricks/api_client.py index 2886d0a5..c49ff9bb 100644 --- a/dbt/adapters/databricks/api_client.py +++ b/dbt/adapters/databricks/api_client.py @@ -499,7 +499,7 @@ def create( http_headers = credentials.get_all_http_headers( connection_parameters.pop("http_headers", {}) ) - header_factory = credentials.authenticate().credentials_provider # type: ignore + header_factory = credentials.authenticate().credentials_provider() # type: ignore session.auth = BearerAuth(header_factory) session.headers.update({"User-Agent": user_agent, **http_headers})