Storage API too complex to extract file path
Navigation Menu
{{ message }}
googleapis / google-cloud-python Public
- Notifications You must be signed in to change notification settings
- Fork 1.7k
Closed
Closed
Description
Datalab API examples: https://github.com/googledatalab/datalab/blob/f52335fe7bc596aa63f61230717c473caf6047de/dev/notebooks/Cloud%20Storage%20-%20Reading%20and%20Writing%20Files.ipynb
items = shared_bucket.items() keys = map(lambda item: item.key, items) keys
What it is the equivalent in gcloud-python?
items = shared_bucket.list_blobs() keys = ['/'.join(item.id.split('/')[1:-1]) for item in items]
Metadata
Metadata
Assignees
Labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions