Fix DatabricksSqlHook deprecation warning on every connection - #72289
Fix DatabricksSqlHook deprecation warning on every connection#72289sohailiqrar wants to merge 1 commit into
Conversation
databricks-sql-connector deprecated the ``_user_agent_entry`` keyword argument in favour of ``user_agent_entry`` (no leading underscore). Passing the old name logs a warning on every call to get_conn(), which fires for every DatabricksSqlOperator / sensor execution. Switch to the current parameter name so the warning is no longer emitted.
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
|
|
Switch to the current parameter name closes: #72102 |
databricks-sql-connector deprecated the
_user_agent_entrykeyword argument in favour ofuser_agent_entry(no leading underscore). Passing the old name logs a warning on every call to get_conn(), which fires for every DatabricksSqlOperator / sensor execution. Switch to the current parameter name so the warning is no longer emitted.Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.