Skip to content

Commit 814d1cb

Browse files
committed
nit
1 parent f518085 commit 814d1cb

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/databricks/sql/auth/authenticators.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ class AzureServicePrincipalCredentialProvider(CredentialsProvider):
183183

184184
def __init__(
185185
self,
186-
hostname: Optional[str],
187-
oauth_client_id: Optional[str],
188-
oauth_client_secret: Optional[str],
189-
azure_tenant_id: Optional[str],
190-
azure_workspace_resource_id: Optional[str] = None,
186+
hostname,
187+
oauth_client_id,
188+
oauth_client_secret,
189+
azure_tenant_id,
190+
azure_workspace_resource_id=None,
191191
):
192192
self.hostname = hostname
193193
self.oauth_client_id = oauth_client_id

src/databricks/sql/auth/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class AuthType(Enum):
88
AZURE_SP_M2M = "azure-sp-m2m"
99

1010

11-
def get_effective_azure_login_app_id(hostname: Optional[str]) -> str:
11+
def get_effective_azure_login_app_id(hostname) -> str:
1212
"""
1313
Get the effective Azure login app ID for a given hostname.
1414
This function determines the appropriate Azure login app ID based on the hostname.

src/databricks/sql/auth/oauth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,9 @@ class ClientCredentialsTokenSource(RefreshableTokenSource):
317317

318318
def __init__(
319319
self,
320-
token_url: Optional[str],
321-
oauth_client_id: Optional[str],
322-
oauth_client_secret: Optional[str],
320+
token_url,
321+
oauth_client_id,
322+
oauth_client_secret,
323323
extra_params: dict = {},
324324
):
325325
self.oauth_client_id = oauth_client_id

0 commit comments

Comments
 (0)