nuclearpinguin commented on a change in pull request #7220: [AIRFLOW-6145]
[AIP-21] Rename GCS related operators and hooks
URL: https://github.com/apache/airflow/pull/7220#discussion_r368635200
##########
File path: airflow/contrib/operators/file_to_gcs.py
##########
@@ -22,10 +22,24 @@
import warnings
-# pylint: disable=unused-import
-from airflow.operators.local_to_gcs import FileToGoogleCloudStorageOperator #
noqa
+from airflow.operators.local_to_gcs import LocalToGCSOperator
warnings.warn(
"This module is deprecated. Please use `airflow.operators.local_to_gcs`,",
DeprecationWarning, stacklevel=2
)
+
+
+class FileToGoogleCloudStorageOperator(LocalToGCSOperator):
Review comment:
Wouldn't `LokalFile` be better? @mik-laj ?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services