SamWheating commented on a change in pull request #17592:
URL: https://github.com/apache/airflow/pull/17592#discussion_r712555765



##########
File path: airflow/sensors/sql.py
##########
@@ -58,17 +63,27 @@ class SqlSensor(BaseSensorOperator):
     ui_color = '#7c7287'
 
     def __init__(
-        self, *, conn_id, sql, parameters=None, success=None, failure=None, 
fail_on_empty=False, **kwargs
+        self,
+        *,
+        conn_id,
+        sql,
+        parameters=None,
+        success=None,
+        failure=None,
+        fail_on_empty=False,
+        hook_kwargs=None,

Review comment:
       ```suggestion
           hook_kwargs={},
   ```
   
   And then the line below could be reduced to 
   
   ```python
        self.hook_kwargs = hook_kwargs
   ```




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