RNHTTR commented on code in PR #49282:
URL: https://github.com/apache/airflow/pull/49282#discussion_r2044610484


##########
providers/common/sql/src/airflow/providers/common/sql/operators/sql.py:
##########
@@ -161,7 +161,12 @@ def get_hook(cls, conn_id: str, hook_params: dict | None = 
None) -> BaseHook:
         :param hook_params: hook parameters
         :return: default hook for this connection
         """
+        hook_params = hook_params or {}

Review Comment:
   This is a good opportunity to add `hook_params` to the doc string to explain 
what hook params are used for



-- 
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]

Reply via email to