uranusjr commented on a change in pull request #20732:
URL: https://github.com/apache/airflow/pull/20732#discussion_r780625140
##########
File path: airflow/providers/amazon/aws/operators/sqs.py
##########
@@ -89,3 +90,19 @@ def execute(self, context: 'Context'):
self.log.info('result is send_message is %s', result)
return result
+
+
+class SQSPublishOperator(SqsPublishOperator):
+ """
+ This operator is deprecated.
+ Please use
:class:`airflow.providers.amazon.aws.operators.sqs.SqsPublishOperator`.
+ """
+
+ def __init__(self, *args, **kwargs):
+ warnings.warn(
+ "This operator is deprecated. "
+ "Please use
:class:`airflow.providers.amazon.aws.operators.sqs.SqsPublishOperator`.",
Review comment:
```suggestion
"Please use
`airflow.providers.amazon.aws.operators.sqs.SqsPublishOperator`.",
```
Deprecation warnings are not rst-rendered
--
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]