mik-laj commented on a change in pull request #7297: WIP [AIRFLOW-6676] added 
GCSDeleteBucketOperator
URL: https://github.com/apache/airflow/pull/7297#discussion_r373369467
 
 

 ##########
 File path: airflow/gcp/example_dags/example_gcs.py
 ##########
 @@ -127,7 +128,16 @@
         task_id="delete_files", bucket_name=BUCKET_1, 
objects=[BUCKET_FILE_LOCATION]
     )
 
+    # [START howto_operator_gcs_delete_bucket]
+    delete_bucket = GCSDeleteBucketOperator(task_id="delete_bucket", 
bucket_name=BUCKET_1)
+    # [END howto_operator_gcs_delete_bucket]
+
     [create_bucket1, create_bucket2] >> list_buckets >> list_buckets_result
     [create_bucket1, create_bucket2] >> upload_file
     upload_file >> [download_file, copy_file]
     upload_file >> gcs_bucket_create_acl_entry_task >> 
gcs_object_create_acl_entry_task >> delete_files
+    create_bucket1 >> delete_bucket
 
 Review comment:
   Can you attach diagram? 
https://airflow.readthedocs.io/en/latest/usage-cli.html#exporting-dags-structure-to-images

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

Reply via email to