Skip to content

Commit b79af03

Browse files
committed
lint fix
1 parent 1e604a1 commit b79af03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/databricks/sql/auth/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
def get_auth_provider(cfg: ClientContext, http_client):
1515
# Determine the base auth provider
16-
base_provider = None
16+
base_provider: Optional[AuthProvider] = None
1717

1818
if cfg.credentials_provider:
1919
base_provider = ExternalAuthProvider(cfg.credentials_provider)

src/databricks/sql/auth/token_federation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(
5252
self.identity_federation_client_id = identity_federation_client_id
5353

5454
self._cached_token: Optional[Token] = None
55-
self._external_headers = {}
55+
self._external_headers: Dict[str, str] = {}
5656

5757
def add_headers(self, request_headers: Dict[str, str]):
5858
"""Add authentication headers to the request."""

0 commit comments

Comments
 (0)