piskvorky / smart_open

Utils for streaming large files (S3, HDFS, gzip, bz2...)
MIT License
3.22k stars 383 forks source link

Remove GCS bucket.exists call to avoid storage.buckets.get permission #813

Closed ddelange closed 8 months ago

ddelange commented 8 months ago

Title

Remove bucket.exists call to avoid storage.buckets.get permission

Motivation

Fix #766

Tests

Already tested by test_non_existing_bucket

Work in progress

Checklist

Before you create the PR, please make sure you have:

Workflow

mpenkov commented 8 months ago

Thank you @ddelange !