TobKed commented on a change in pull request #12310:
URL: https://github.com/apache/airflow/pull/12310#discussion_r522847974



##########
File path: airflow/providers/google/cloud/hooks/gcs.py
##########
@@ -318,6 +318,38 @@ def provide_file(
             tmp_file.flush()
             yield tmp_file
 
+    @_fallback_object_url_to_object_name_and_bucket_name()
+    @contextmanager
+    def provide_file_and_upload(
+        self,
+        bucket_name: Optional[str] = None,
+        object_name: Optional[str] = None,
+        object_url: Optional[str] = None,  # pylint: disable=unused-argument

Review comment:
       What is the purpose of `object_url` ?




----------------------------------------------------------------
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]


Reply via email to