Skip to content

Commit ed85ccf

Browse files
SNOW-2268606 redundant code
1 parent 7b8a8e5 commit ed85ccf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/snowflake/connector/auth/webbrowser.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -456,14 +456,14 @@ def _get_sso_url(
456456
body = Auth.base_auth_data(
457457
user,
458458
account,
459-
conn._rest._connection.application,
460-
conn._rest._connection._internal_application_name,
461-
conn._rest._connection._internal_application_version,
462-
conn._rest._connection._ocsp_mode(),
463-
conn._rest._connection.login_timeout,
464-
conn._rest._connection.network_timeout,
465-
conn._rest._connection.socket_timeout,
466-
conn._rest._connection.platform_detection_timeout_seconds,
459+
conn.application,
460+
conn._internal_application_name,
461+
conn._internal_application_version,
462+
conn._ocsp_mode(),
463+
conn.login_timeout,
464+
conn.network_timeout,
465+
conn.socket_timeout,
466+
conn.platform_detection_timeout_seconds,
467467
session_manager=conn.rest.session_manager.clone(use_pooling=False),
468468
)
469469

0 commit comments

Comments
 (0)