You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/01/03 08:39:23 UTC

[GitHub] [airflow] nuclearpinguin commented on a change in pull request #7000: [AIRFLOW-6113] [AIP-21] Rename GCP transfer operator

nuclearpinguin commented on a change in pull request #7000: [AIRFLOW-6113] [AIP-21] Rename GCP transfer operator
URL: https://github.com/apache/airflow/pull/7000#discussion_r362734524
 
 

 ##########
 File path: airflow/gcp/operators/cloud_storage_transfer_service.py
 ##########
 @@ -218,17 +218,17 @@ def _validate_inputs(self):
 
     def execute(self, context):
         TransferJobPreprocessor(body=self.body, aws_conn_id=self.aws_conn_id).process_body()
-        hook = GCPTransferServiceHook(api_version=self.api_version, gcp_conn_id=self.gcp_conn_id)
+        hook = CloudDataTransferServiceHook(api_version=self.api_version, gcp_conn_id=self.gcp_conn_id)
         return hook.create_transfer_job(body=self.body)
 
 
-class GcpTransferServiceJobUpdateOperator(BaseOperator):
+class CloudDataTransferServiceUpdateJobOperator(BaseOperator):
     """
     Updates a transfer job that runs periodically.
 
     .. seealso::
         For more information on how to use this operator, take a look at the guide:
-        :ref:`howto/operator:GcpTransferServiceJobUpdateOperator`
+        :ref:`howto/operator:CloudDataTransferServiceUpdateJobOperator`
 
 Review comment:
   Have you also changed the docs? 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services