eladkal commented on a change in pull request #20732:
URL: https://github.com/apache/airflow/pull/20732#discussion_r780444836
##########
File path: airflow/contrib/operators/aws_sqs_publish_operator.py
##########
@@ -19,10 +19,26 @@
import warnings
-from airflow.providers.amazon.aws.operators.sqs import SQSPublishOperator #
noqa
+from airflow.providers.amazon.aws.operators.sqs import SqsPublishOperator
warnings.warn(
"This module is deprecated. Please use
`airflow.providers.amazon.aws.operators.sqs`.",
DeprecationWarning,
stacklevel=2,
)
Review comment:
It's like that for other hooks so I left it as is:
https://github.com/apache/airflow/blob/main/airflow/contrib/hooks/gcp_spanner_hook.py
https://github.com/apache/airflow/blob/main/airflow/contrib/hooks/aws_hook.py
##########
File path: tests/providers/amazon/aws/hooks/test_sqs.py
##########
@@ -28,8 +28,8 @@
@unittest.skipIf(mock_sqs is None, 'moto sqs package missing')
-class TestAwsSQSHook(unittest.TestCase):
+class TestAwsSqsHook(unittest.TestCase):
Review comment:
changed
--
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]