We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63a7f82 commit 1e604a1Copy full SHA for 1e604a1
1 file changed
src/databricks/sql/auth/token_federation.py
@@ -58,7 +58,9 @@ def add_headers(self, request_headers: Dict[str, str]):
58
"""Add authentication headers to the request."""
59
60
if self._cached_token and not self._cached_token.is_expired():
61
- request_headers["Authorization"] = f"{self._cached_token.token_type} {self._cached_token.access_token}"
+ request_headers[
62
+ "Authorization"
63
+ ] = f"{self._cached_token.token_type} {self._cached_token.access_token}"
64
return
65
66
# Get the external headers first to check if we need token federation
0 commit comments