Skip to content

Commit 3013fe8

Browse files
authored
SNOW-1473577: Add comment for internal_application_name in connection parameters (#2000)
1 parent 4a89dad commit 3013fe8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/snowflake/connector/connection.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ def _get_private_bytes_from_file(
190190
"password_callback": (None, (type(None), Callable)),
191191
"auth_class": (None, (type(None), AuthByPlugin)),
192192
"application": (CLIENT_NAME, (type(None), str)),
193+
# internal_application_name/version is used to tell the server the type of client connecting to
194+
# Snowflake. There are some functionalities (e.g., MFA, Arrow result format) that
195+
# Snowflake server doesn't support for new client types, which requires developers to
196+
# add the new client type to the server to support these features.
193197
"internal_application_name": (CLIENT_NAME, (type(None), str)),
194198
"internal_application_version": (CLIENT_VERSION, (type(None), str)),
195199
"insecure_mode": (False, bool), # Error security fix requirement

0 commit comments

Comments
 (0)