Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit11e758f

Browse files
committed
Fix type check issue
1 parent7018df5 commit11e758f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/databricks/sql/auth/auth.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def get_python_sql_connector_auth_provider(hostname: str, **kwargs):
9090
tls_client_cert_file=kwargs.get("_tls_client_cert_file"),
9191
oauth_scopes=PYSQL_OAUTH_SCOPES,
9292
oauth_client_id=kwargs.get("oauth_client_id")orPYSQL_OAUTH_CLIENT_ID,
93-
oauth_redirect_port_range=[kwargs.get("oauth_redirect_port")]
94-
ifkwargs.get("oauth_client_id")
93+
oauth_redirect_port_range=[kwargs["oauth_redirect_port"]]
94+
ifkwargs.get("oauth_client_id")andkwargs.get("oauth_redirect_port")
9595
elsePYSQL_OAUTH_REDIRECT_PORT_RANGE,
9696
oauth_persistence=kwargs.get("experimental_oauth_persistence"),
9797
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp