bhavaniravi commented on issue #20139:
URL: https://github.com/apache/airflow/issues/20139#issuecomment-989599852
Let me start with DMS, then. Quick question. Should we add the deprecated
warning like the following on existing modules, or is this auto-generated?
```
import warnings
from airflow.providers.amazon.aws.operators.ec2 import
EC2StartInstanceOperator
warnings.warn(
"This module is deprecated. Please use
`airflow.providers.amazon.aws.operators.ec2`.",
DeprecationWarning,
stacklevel=2,
)
```
--
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]