예제 #1
0
파일: gcs.py 프로젝트: iVerner/airflow
 def execute(self, context: "Context") -> None:
     hook = GCSHook(gcp_conn_id=self.gcp_conn_id,
                    impersonation_chain=self.impersonation_chain)
     hook.delete_bucket(bucket_name=self.bucket_name, force=self.force)
예제 #2
0
 def execute(self, context):
     hook = GCSHook(gcp_conn_id=self.gcp_conn_id)
     hook.delete_bucket(bucket_name=self.bucket_name, force=self.force)