Comments (6)
As I noted on your PR, perhaps it would make sense to allow sorting objects across buckets. @frankyn, WDYT?
from python-storage.
Hi @bboe,
Apologies on the delay. How many objects do you have in your bucket? I'd prefer we not support this in the GCS library because list_blobs()
may be called on a bucket with millions of objects. I think this is better suited in external project code rather than in the Python library.
I'm open to discussing this more, but want to be careful with what the library supports long-term.
from python-storage.
@frankyn thanks for the response. Yes, sorting millions of objects wouldn't be ideal.
Would it be possible to update the documentation to mention that list_blobs is guaranteed to return items sorted by key (assuming that's actually true)?
from python-storage.
Reaching out to the backend service teams and will get back to you.
As long as I've used GCS, objects are listed in lexicographical order, but want to confirm because it's a strong statement and want to be careful.
from python-storage.
Hi @bboe, confirmed with backend team that this is true and not documented appropriately.
This is being resolved by Technical Writers internally and closing this issue.
Thanks for your patience @bboe!
from python-storage.
Thanks for following up @frankyn. I appreciate it.
from python-storage.
Related Issues (20)
- Issue: `ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))` HOT 3
- tests.system.test_fileio: test_blobwriter_and_blobreader failed HOT 1
- Support `storage.googleapis.com` public url at `Blob.from_string`
- tests.system.test_bucket: test_blob_exists_hierarchy failed HOT 1
- tests.system.test_bucket: test_bucket_list_blobs_hierarchy_root_level failed
- tests.system.test_bucket: test_bucket_list_blobs_hierarchy_first_level failed
- tests.system.test_bucket: test_bucket_list_blobs_hierarchy_second_level failed
- tests.system.test_bucket: test_bucket_list_blobs_hierarchy_third_level failed
- tests.system.test_bucket: test_bucket_list_blobs_hierarchy_w_include_trailing_delimiter failed
- tests.system.test_bucket: test_bucket_list_blobs failed HOT 1
- tests.system.test_bucket: test_bucket_list_blobs_w_user_project failed
- tests.system.test_bucket: test_bucket_list_blobs_paginated failed HOT 1
- tests.system.test_bucket: test_bucket_list_blobs_paginated_w_offset failed HOT 1
- tests.system.test_transfer_manager: test_upload_many_skip_if_exists failed HOT 2
- tests.system.test_transfer_manager: test_upload_many_from_filenames_with_attributes failed HOT 1
- tests.system.test_transfer_manager: test_download_many failed HOT 1
- tests.system.test_transfer_manager: test_download_many_with_threads_and_file_objs failed HOT 1
- tests.system.test_bucket: test_ubla_set_unset_preserves_acls failed HOT 1
- tests.system.test_kms_integration: test_bucket_w_default_kms_key_name failed HOT 1
- Make it possible to update / add to the user-agent for an existing client object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-storage.