potiuk commented on code in PR #34669:
URL: https://github.com/apache/airflow/pull/34669#discussion_r1379713447
##########
airflow/operators/__init__.py:
##########
@@ -90,6 +90,7 @@
"HiveToSambaOperator":
"airflow.providers.apache.hive.transfers.hive_to_samba.HiveToSambaOperator",
},
"http_operator": {
+ "HttpOperator": "airflow.providers.http.operators.http.HttpOperator",
Review Comment:
One NIT. No need to add this one here, please remove it.
This is only needed for backwards compatiblity for those that used
"airflow.operators.SimpleHttpOperator" in the past. Since this is a new
operator name, nobody uses it yet, and everyone should start using
`airflow.providers.http.operators.http.SimpleHttpOperator` so adding the
"deprecation warning" and dynami import here makes no sense and only confuses
things.
--
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]