File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments