ferruzzi commented on code in PR #29001:
URL: https://github.com/apache/airflow/pull/29001#discussion_r1072982310
##########
airflow/providers/amazon/aws/sensors/sqs.py:
##########
@@ -152,7 +151,7 @@ def poke(self, context: Context):
:param context: the context object
:return: ``True`` if message is available or ``False``
"""
- sqs_conn = self.get_hook().get_conn()
+ sqs_conn = self.hook.get_conn()
Review Comment:
```suggestion
sqs_conn = self.hook.conn
```
--
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]