ferruzzi commented on a change in pull request #20732:
URL: https://github.com/apache/airflow/pull/20732#discussion_r782586430



##########
File path: airflow/providers/amazon/aws/sensors/sqs.py
##########
@@ -196,3 +197,19 @@ def filter_messages_jsonpath(self, messages):
                     filtered_messages.append(message)
                     break
         return filtered_messages
+
+
+class SQSSensor(SqsSensor):
+    """
+    This sensor is deprecated.
+    Please use :class:`airflow.providers.amazon.aws.sensors.sqs.SqsSensor`.
+    """
+
+    def __init__(self, *args, **kwargs):
+        warnings.warn(
+            "This class is deprecated. "
+            "Please use 
:class:`airflow.providers.amazon.aws.sensors.sqs.SqsSensor`.",

Review comment:
       Nice catch, sorry I missed those.




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