Skip to content

Commit 6f2a3b1

Browse files
committed
one other cleanup
1 parent 50e12b0 commit 6f2a3b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

databricks/sdk/oauth.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,6 @@ def noop_credentials(_: any):
658658
return lambda: {}
659659

660660
config = Config(host=host, credentials_strategy=noop_credentials)
661-
if not scopes:
662-
scopes = ["all-apis"]
663661
oidc = config.oidc_endpoints
664662
if not oidc:
665663
raise ValueError(f"{host} does not support OAuth")

0 commit comments

Comments
 (0)