Skip to content

Commit

Permalink
Merge pull request #153 from getzlab/cchu70-patch-1
Browse files Browse the repository at this point in the history
Update file_handlers.py get_requester_pays
  • Loading branch information
julianhess authored Sep 27, 2024
2 parents 0cebe19 + 83a943e commit 005ba86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canine/localization/file_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def get_requester_pays(self) -> bool:

gcs_cl = gcloud_storage_client()
bucket_obj = google.cloud.storage.Bucket(gcs_cl, bucket, user_project = self.extra_args.get("project"))

bucket_obj.reload()
return bucket_obj.requester_pays

# TODO: handle case where permissions disallow bucket inspection?
Expand Down

0 comments on commit 005ba86

Please sign in to comment.