Scuall1992 commented on a change in pull request #14276:
URL: https://github.com/apache/airflow/pull/14276#discussion_r578589715
##########
File path: airflow/providers/google/cloud/transfers/gdrive_to_gcs.py
##########
@@ -85,38 +93,18 @@ def __init__(
**kwargs,
) -> None:
super().__init__(**kwargs)
- self.destination_bucket = destination_bucket
- self.destination_object = destination_object
+ self.bucket_name = destination_bucket or bucket_name
+ if destination_bucket:
+ warnings.warn("`destination_bucket ` is deprecated please use
`bucket_name`", DeprecationWarning)
+ self.object_name = destination_object or object_name
+ if destination_object:
+ warnings.warn("`destination_object ` is deprecated please use
`object_name`", DeprecationWarning)
Review comment:
I can do it in an 3-4 hours
----------------------------------------------------------------
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]