lidavidm commented on code in PR #1525:
URL: https://github.com/apache/arrow-adbc/pull/1525#discussion_r1481829808
##########
python/adbc_driver_snowflake/adbc_driver_snowflake/__init__.py:
##########
@@ -131,6 +131,7 @@ def connect(
kwargs = (db_kwargs or {}).copy()
if uri is not None:
kwargs["uri"] = uri
+ kwargs[DatabaseOptions.APPLICATION_NAME] = "[ADBC][Python]" +
kwargs.get(DatabaseOptions.APPLICATION_NAME, "")
Review Comment:
Use `dict.setdefault` so that we don't override the user choice?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]