baolsen commented on a change in pull request #7541: [AIRFLOW-6822] AWS hooks 
should cache boto3 client
URL: https://github.com/apache/airflow/pull/7541#discussion_r385543208
 
 

 ##########
 File path: airflow/providers/amazon/aws/sensors/redshift.py
 ##########
 @@ -43,9 +43,9 @@ def __init__(self,
         self.cluster_identifier = cluster_identifier
         self.target_status = target_status
         self.aws_conn_id = aws_conn_id
+        self.hook = RedshiftHook(aws_conn_id=self.aws_conn_id)
 
 Review comment:
   Resolved, thanks

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to