Example #1
0
 def _GetDaisyBucket(args):
     storage_client = storage_api.StorageClient()
     bucket_location = storage_client.GetBucketLocationForFile(
         args.destination_uri)
     return daisy_utils.CreateDaisyBucketInProject(bucket_location,
                                                   storage_client)
 def GetAndCreateDaisyBucket(self):
     return daisy_utils.CreateDaisyBucketInProject(self.GetBucketLocation(),
                                                   self.storage_client)