bhirsz commented on code in PR #25934:
URL: https://github.com/apache/airflow/pull/25934#discussion_r953697936
##########
tests/system/providers/google/cloud/transfers/example_gcs_to_sftp.py:
##########
@@ -46,12 +53,35 @@
catchup=False,
tags=['example', 'gcs'],
) as dag:
+ create_bucket = GCSCreateBucketOperator(
+ task_id="create_bucket", bucket_name=BUCKET_NAME, project_id=PROJECT_ID
+ )
+
+ upload_file_1 = LocalFilesystemToGCSOperator(
Review Comment:
To ensure I have file available on different paths - directly in bucket
root, under directory etc. It's later used by transfer operator and we are
testing if its possible to copy file, copy file from dir (and recreate dir
structures), copy with wildcard. But thanks to your question I have noticed we
dont need third upload - since 2nd upload already puts file under dir and we
came reuse it.
--
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]